BAEL-1857

This commit is contained in:
josephine-barboza 2018-08-11 14:13:55 +05:30 committed by José Carlos Valero Sánchez
parent 876ffa765c
commit 9379e84ac8
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package com.baeldung;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class ComparisonFunctionTest {
@Test
public void test_findMax() {
assertEquals(20, Math.max(10, 20));
}
@Test
public void test_findMin() {
assertEquals(10, Math.min(10, 20));
}
}