Skip to content

Commit 9379e84

Browse files
josephine-barbozaCalamarBicefalo
authored andcommitted
BAEL-1857
1 parent 876ffa7 commit 9379e84

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.baeldung;
2+
3+
import static org.junit.Assert.assertEquals;
4+
5+
import org.junit.Test;
6+
7+
public class ComparisonFunctionTest {
8+
9+
@Test
10+
public void test_findMax() {
11+
assertEquals(20, Math.max(10, 20));
12+
}
13+
14+
@Test
15+
public void test_findMin() {
16+
assertEquals(10, Math.min(10, 20));
17+
}
18+
19+
}

0 commit comments

Comments
 (0)