Skip to content

Commit

Permalink
chore: refactor unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Jan 23, 2024
1 parent 5068f6c commit 7ee3601
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ private void assertSubList(List<Integer> list) {
result = ListResult.subList(list, 0, 1);
assertEquals(list.subList(0, 1), result);

result = ListResult.subList(list, 0, 0);
assertEquals(list, result);

result = ListResult.subList(list, 1, 0);
assertEquals(list, result);

assertEquals(list.subList(0, 1), ListResult.subList(list, -1, 1));
}
}

0 comments on commit 7ee3601

Please sign in to comment.