From: Guillaume R. <Gui...@em...> - 2004-10-20 07:48:40
|
Hi, okay you're right !! So I checked the assertions (we try not to use assertions but only unit tests, this is why I did not activate assertions) : * in public void setTargetStatus(int constIdx, boolean st), the first was obviously false, it should have been assert((getTargetStatus(constIdx) == null)); and not assert(!(getTargetStatus(constIdx) == null)); !!! * in public void setStatus(int constIdx, boolean st), the first must be removed because, apparently, several parts of Choco modify the status. I commited these modifications on the CVS => it will be avalable in the next version, but you can modify it yourself before this version !! :) Regards, Guillaume |