New test for each constructor of moHS, moTS, moILS. No memory leaks under Windows. No compilation errors or warning under Unix and Windows XP (visual studio 2005)
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1102 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
59027b4e24
commit
094c812050
7 changed files with 51 additions and 93 deletions
|
|
@ -45,7 +45,7 @@ using std::endl;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
typedef EO<unsigned int> solution;
|
||||
typedef EO<int> solution;
|
||||
|
||||
class testMove : public moMove <solution>
|
||||
{
|
||||
|
|
@ -68,7 +68,7 @@ public :
|
|||
class testMoveIncrEval : public moMoveIncrEval <testMove>
|
||||
{
|
||||
public :
|
||||
unsigned int operator () (const testMove & _move, const solution & _solution)
|
||||
int operator () (const testMove & _move, const solution & _solution)
|
||||
{
|
||||
const testMove move(_move);
|
||||
const solution solution(_solution);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue