void checkTriangle_Normal () { | void checkTriangle_Normal () { | ||||
assertEquals(TriangleChecker.TriangleType.NORMAL, TriangleChecker.checkTriangle(15, 12, 22)); | assertEquals(TriangleChecker.TriangleType.NORMAL, TriangleChecker.checkTriangle(15, 12, 22)); | ||||
} | } | ||||
@Test | |||||
void checkTriangle_gleichseitig () { | |||||
assertEquals(TriangleChecker.TriangleType.EQUILATERAL, TriangleChecker.checkTriangle(10, 10, 10)); | |||||
} | |||||
} | } |