Пример #1
0
 @Test
 public void isATriangle_sideOneSideTwoLessThanSideThree_true() {
   Triangle triangle = new Triangle(10, 10, 15);
   assertEquals(true, triangle.isATriangle());
 }
Пример #2
0
 @Test
 public void isATriangle_sideThreeSideOneGreaterThanSideTwo_false() {
   Triangle triangle = new Triangle(10, 25, 10);
   assertEquals(false, triangle.isATriangle());
 }