Skip to content

Commit

Permalink
fix(:java): MaxTest TestCode
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Jan 15, 2025
1 parent 3650856 commit d3dae49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MaxTest {
void test_max() {
int[] arr = {1, 2, 3};
var res = Arrays.stream(arr).map(i -> i * 2).max().orElse(0);
assertThat(res).isEqualTo(12);
assertThat(res).isEqualTo(6);
}


Expand Down

0 comments on commit d3dae49

Please sign in to comment.