[rules-users] Stuck on simple testcase

Michiel Vermandel mvermand at yahoo.com
Mon Jan 14 07:08:27 EST 2013


Hi,

I wrote a quite simple unit test which I expected to succeed.
But it does not, it ends with a negative score.
Though, it is easy to see on sight that there is a zero-score solution possible.
So... something must be wrong in some of my rules.

I was wondering if it is possible to manually set all planning variables to what I expected them to be and then see which rule(s) break(s)?
So planning variables should not be changed anymore while solving.

I'm using drools planner 5.5.0.Final.

Thanks,

Michiel

 
-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130114/57ff5d62/attachment.html 


More information about the rules-users mailing list