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

2 years ago
  1. package programmiermethoden_und_Werkzeuge;
  2. import static org.junit.Assert.*;
  3. import org.junit.Test;
  4. public class TaschenrechnerTest {
  5. @Test
  6. public void testAddition() {
  7. int a = 3;
  8. int b = 4;
  9. int ab = a + b;
  10. int result = Taschenrechner.addition(a,b);
  11. assertEquals(ab, result);
  12. }
  13. @Test
  14. public void testMultiplikation() {
  15. }
  16. @Test
  17. public void testDivision() {
  18. }
  19. @Test
  20. public void testPotenzieren() {
  21. }
  22. @Test
  23. public void testKleinerAls() {
  24. }
  25. @Test
  26. public void testGroeßerAls() {
  27. }
  28. @Test
  29. public void testGleich() {
  30. }
  31. @Test
  32. public void testRandomIntegerNummer() {
  33. }
  34. }