You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
632 B
54 lines
632 B
package programmiermethoden_und_Werkzeuge;
|
|
|
|
import static org.junit.Assert.*;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class TaschenrechnerTest {
|
|
|
|
@Test
|
|
public void testAddition() {
|
|
int a = 3;
|
|
int b = 4;
|
|
int ab = a + b;
|
|
int result = Taschenrechner.addition(a,b);
|
|
|
|
assertEquals(ab, result);
|
|
}
|
|
|
|
@Test
|
|
public void testMultiplikation() {
|
|
|
|
}
|
|
|
|
@Test
|
|
public void testDivision() {
|
|
|
|
}
|
|
|
|
@Test
|
|
public void testPotenzieren() {
|
|
|
|
}
|
|
|
|
@Test
|
|
public void testKleinerAls() {
|
|
|
|
}
|
|
|
|
@Test
|
|
public void testGroeßerAls() {
|
|
|
|
}
|
|
|
|
@Test
|
|
public void testGleich() {
|
|
|
|
}
|
|
|
|
@Test
|
|
public void testRandomIntegerNummer() {
|
|
|
|
}
|
|
|
|
}
|