BAEL-1857 Delete MathFunctionTest.java

This commit is contained in:
josephine-barboza 2018-08-11 14:08:43 +05:30 committed by José Carlos Valero Sánchez
parent 87e6645b1c
commit 24ba05ce0d
1 changed files with 0 additions and 29 deletions

View File

@ -1,29 +0,0 @@
package com.baeldung;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class MathFunctionTest {
@Test
public void test_addingIntegers_returnsSum() throws InterruptedException {
assertEquals(22, Math.addExact(10, 12));
}
@Test
public void test_multiplyingIntegers_returnsProduct() {
assertEquals(120, Math.multiplyExact(10, 12));
}
@Test
public void test_subtractingIntegers_returnsDifference() {
assertEquals(2, Math.subtractExact(12, 10));
}
@Test
public void test_minimumInteger() {
assertEquals(10, Math.min(10, 12));
}
}