123456789101112131415161718 |
- import org.junit.jupiter.api.Test;
-
- import static org.junit.jupiter.api.Assertions.*;
-
- class TriangleCheckerTest {
-
- @Test
- void checkTriangle() {
-
- float a = 3;
- float b = 4;
- float c = 5;
-
- TriangleChecker.TriangleType result = TriangleChecker.checkTriangle(a, b, c);
-
- assertEquals(TriangleChecker.TriangleType.NORMAL, result, "Normales Dreieck");
- }
- }
|