Browse Source

Test: gleichseitig

master
Orlando 1 year ago
parent
commit
46fb5ef74c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      test/Prak1/TriangleCheckerTest.java

+ 4
- 0
test/Prak1/TriangleCheckerTest.java View File

@@ -10,4 +10,8 @@ class TriangleCheckerTest {
void checkTriangle_Normal () {
assertEquals(TriangleChecker.TriangleType.NORMAL, TriangleChecker.checkTriangle(15, 12, 22));
}
@Test
void checkTriangle_gleichseitig () {
assertEquals(TriangleChecker.TriangleType.EQUILATERAL, TriangleChecker.checkTriangle(10, 10, 10));
}
}

Loading…
Cancel
Save