Skip to content

Commit

Permalink
[GSCOLLECT-1672] Add assertions for map inequality.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://gscollections.svn.services.gs.com/svnroot/gscollections-svn/trunk@930 d5c9223b-1aff-41ac-aadd-f810b4a99ac4
  • Loading branch information
jajodr committed Feb 19, 2016
1 parent 22d3aab commit c46c6a7
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -233,6 +233,8 @@ public class Object<name>HashMapWithHashingStrategyTest extends Object<name>Hash
Assert.assertEquals(mapWithConstantHashcodeStrategy, map2);
Assert.assertEquals(map2, mapWithConstantHashcodeStrategy);
Assert.assertNotEquals(map1.hashCode(), map2.hashCode());
Assert.assertNotEquals(map1.hashCode(), mapWithConstantHashcodeStrategy.hashCode());
Assert.assertNotEquals(map2.hashCode(), mapWithConstantHashcodeStrategy.hashCode());

Object<name>HashMapWithHashingStrategy\<Person> map3 = Object<name>HashMapWithHashingStrategy.newWithKeysValues(LAST_NAME_HASHING_STRATEGY, <allPeople()>);

Expand Down

0 comments on commit c46c6a7

Please sign in to comment.