Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanth0525 authored Sep 1, 2024
1 parent 53c385d commit 8a2808a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ public void testFindDuplicatesWithDuplicates() {
@Test
public void testFindDuplicatesNoDuplicates() {
List<Integer> input = Arrays.asList(1, 2, 3, 4, 5);
List<Integer> expected = Arrays.asList();
List<Integer> actual = ListUtils.findDuplicates(input);
assertEquals(expected, actual, "The list should be empty as there are no duplicates.");
assertTrue(ListUtils.findDuplicates(input).isEmpty(), "The list should be empty as the input list has no duplicates.");
}

@Test
Expand Down

0 comments on commit 8a2808a

Please sign in to comment.