surno / deep-equals

Automatically exported from code.google.com/p/deep-equals
0 stars 0 forks source link

Wrong assertion in tests #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The following test case that ships with the source code of the deep-equals 
project should pass with assertFalse and it should fail with assertTrue. 
Currently, this is not the case.

        map1.put("Alpha", "One");
        map1.put("Bravo", "Two");

        map2.put("Alpha", "Two");
        map2.put("Bravo", "One");

        assertTrue(DeepEquals.recursiveHashCode(map1) == DeepEquals.recursiveHashCode(map2)); --> should be false since the maps have the values switched.

Original issue reported on code.google.com by etienne....@edorasware.com on 11 Jun 2014 at 1:41

GoogleCodeExporter commented 8 years ago
Sorry, it should say deepHashCode. The issue still exists, though. 

Original comment by etienne....@edorasware.com on 11 Jun 2014 at 1:43