Skip to content

Commit 0882a45

Browse files
authored
Create MaxValueTest.java
1 parent ced9678 commit 0882a45

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.thealgorithms.maths;
2+
3+
import static org.junit.jupiter.api.Assertions.assertEquals;
4+
5+
import org.junit.jupiter.api.Test;
6+
7+
public class MaxValueTest {
8+
@Test
9+
public void maxTest() {
10+
assertEquals(-1, MaxValue.max(-1, -3));
11+
assertEquals(3, MaxValue.max(3, 2));
12+
assertEquals(5, MaxValue.max(5, 5));
13+
}
14+
}

0 commit comments

Comments
 (0)