praktikum 2: testcode TriangleCheckerNORMAL + EQUILATERAL + NONE 1.2 .1
This commit is contained in:
parent
6a0d4b769d
commit
d809ba45d3
@ -12,5 +12,6 @@ class TriangleCheckerTest {
|
||||
assertEquals(TriangleChecker.TriangleType.NORMAL, TriangleChecker.checkTriangle(3, 4, 5 ));
|
||||
assertEquals(TriangleChecker.TriangleType.EQUILATERAL, TriangleChecker.checkTriangle(3, 3, 3 ));
|
||||
assertEquals(TriangleChecker.TriangleType.NONE, TriangleChecker.checkTriangle(5,-1,13));
|
||||
assertEquals(TriangleChecker.TriangleType.NONE, TriangleChecker.checkTriangle(0,3,13));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user