Skip to content

Commit

Permalink
Add testPairOfAbstractMapSimpleEntry()
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Sep 26, 2024
1 parent 73026e2 commit 317b364
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/org/apache/commons/lang3/tuple/PairTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ public void testPairOfAbstractMapSimpleEntry() {
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
Expand Down

0 comments on commit 317b364

Please sign in to comment.