Providing required delta for comparing floating points.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Using 'hamcrest-all' for additional matchers.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
hamcrest-all for eclipse users

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Adding assertions to non-test and removing stdout.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Adding back in test which were moved to SignatureTanimotoTest during module rearrangement.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
The input header 'Marvin 07140515482D' is 2 characters longer than the output header 'CDK 0803131301'. This shifts the index by two characters.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Revert "Fixing test regression that depended on the molecule having the same kekule form - i.e. order dependant. When the ring perception changed the order may not be exactly the same but nothing should rely on that fact. Setting the aromaticity fixes the test failure.". This was actually a true failure, the pi-bonding movement tests for different kekule forms and the failure was correct.

This reverts commit fdfbf5e8e092161eadd373f319482b2b76af90e6.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Convenience method for matching in test

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Moving assertion to make it clearer what is going to change.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Correcting test assertion. This reaction type generates two products (as there are two rings in the conjugated ring system). The new ring perception code perceives the two six member rings (used by the reaction) in a different order and so the output order of the products was switched. To avoid this happening again the matching was modified to check both combinations.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>