Stand 001/14.10/15:56

This commit is contained in:
2024-10-28 15:06:41 +01:00
parent 6944f54290
commit 51ff128cba
5 changed files with 104 additions and 22 deletions
+18
View File
@@ -0,0 +1,18 @@
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");
}
}