MultisetsImmutableEntryTest.java | 39 private static <E> Entry<E> control(E element, int count) { method in class:MultisetsImmutableEntryTest 55 assertEquals(control("foo", 1), entry("foo", 1)); 56 assertEquals(control("bar", 2), entry("bar", 2)); 57 assertFalse(control("foo", 1).equals(entry("foo", 2))); 58 assertFalse(entry("foo", 1).equals(control("bar", 1))); 64 assertEquals(control(NE, 1), entry(NE, 1)); method 65 assertFalse(control(NE, 1).equals(entry(NE, 2))); 66 assertFalse(entry(NE, 1).equals(control("bar", 1))); 72 assertEquals(control("foo", 1).hashCode(), entry("foo", 1).hashCode()); 73 assertEquals(control("bar", 2).hashCode(), entry("bar", 2).hashCode()) [all...] |