Encore du nettoyage
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1814 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
3d8057ac4d
commit
02e5cfb6c0
66 changed files with 987 additions and 1785 deletions
|
|
@ -33,24 +33,24 @@ Contact: paradiseo-help@lists.gforge.inria.fr
|
|||
|
||||
#include <perturb/moSolInit.h>
|
||||
|
||||
int main(){
|
||||
int main() {
|
||||
|
||||
std::cout << "[t-moSolInit] => START" << std::endl;
|
||||
std::cout << "[t-moSolInit] => START" << std::endl;
|
||||
|
||||
int a=3;
|
||||
int a=3;
|
||||
|
||||
int b=5;
|
||||
int b=5;
|
||||
|
||||
moSolInit<int> test(a);
|
||||
moSolInit<int> test(a);
|
||||
|
||||
test(b);
|
||||
assert(b==3);
|
||||
a=4;
|
||||
test(b);
|
||||
assert(b==4);
|
||||
test(b);
|
||||
assert(b==3);
|
||||
a=4;
|
||||
test(b);
|
||||
assert(b==4);
|
||||
|
||||
std::cout << "[t-moSolInit] => OK" << std::endl;
|
||||
std::cout << "[t-moSolInit] => OK" << std::endl;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue