defined unittests angepasst
This commit is contained in:
parent
7defeef43b
commit
afc3689a10
@ -40,12 +40,12 @@ public class WhiteboxTest {
|
||||
|
||||
assertEquals(TriangleType.EQUILATERAL_TRIANGLE, TriangleChecker.checkTriangle(5, 5, 5));
|
||||
assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(5, 5, 3));
|
||||
assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(7, 3, 3));
|
||||
assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(6, 4, 6));
|
||||
|
||||
assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(2, 2, 5));
|
||||
assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(2, 2, 3));
|
||||
assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(5, 7, 5));
|
||||
assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(7, 3, 3));
|
||||
assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(2, 1, 5));
|
||||
assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(5, 3, 3));
|
||||
assertEquals(TriangleType.SCALENE_TRIANGLE, TriangleChecker.checkTriangle(4, 3, 5));
|
||||
|
||||
assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(4, 2, 7));
|
||||
assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(4, 8, 3));
|
||||
|
Loading…
Reference in New Issue
Block a user