Repository zu Vorlesung Prog3
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.

TriangleCheckerTest.java 399B

123456789101112131415161718
  1. import org.junit.jupiter.api.Test;
  2. import static org.junit.jupiter.api.Assertions.*;
  3. class TriangleCheckerTest {
  4. @Test
  5. void checkTriangle() {
  6. float a = 3;
  7. float b = 4;
  8. float c = 5;
  9. TriangleChecker.TriangleType result = TriangleChecker.checkTriangle(a, b, c);
  10. assertEquals(TriangleChecker.TriangleType.NORMAL, result, "Normales Dreieck");
  11. }
  12. }