Browse Source

Test: None

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

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

@@ -14,4 +14,8 @@ class TriangleCheckerTest {
void checkTriangle_gleichseitig () {
assertEquals(TriangleChecker.TriangleType.EQUILATERAL, TriangleChecker.checkTriangle(10, 10, 10));
}
@Test
void checkTriangle_none() {
assertEquals(TriangleChecker.TriangleType.NONE, TriangleChecker.checkTriangle(-10, 0, 10));
}
}

Loading…
Cancel
Save