Add testPairOfAbstractMapSimpleEntry()

This commit is contained in:
Gary Gregory 2024-09-26 09:11:25 -04:00
parent 73026e23dc
commit 317b364347
1 changed files with 2 additions and 0 deletions

View File

@ -268,7 +268,9 @@ public class PairTest extends AbstractLangTest {
assertEquals(entry.getKey(), pair.getLeft());
assertEquals(entry.getValue(), pair.getRight());
assertEquals(entry, pair);
assertEquals(entry.hashCode(), pair.hashCode());
assertEquals(pair, entry);
assertEquals(pair.hashCode(), entry.hashCode());
}
@Test