### Question:
Triangle { boolean isIsosceles() { throw new UnsupportedOperationException("Delete this statement and write your own implementation."); } Triangle(double side1, double side2, double side3);   }### Answer:
@Ignore("Remove to run test") @Test public void isoscelesTrianglesHaveLastTwoSidesEqual() throws TriangleException { Triangle triangle = new Triangle(3, 4, 4); assertTrue(triangle.isIsosceles()); }
@Ignore("Remove to run test") @Test public void isoscelesTrianglesHaveTwoFirstSidesEqual() throws TriangleException { Triangle triangle = new Triangle(4, 4, 3); assertTrue(triangle.isIsosceles()); }
@Ignore("Remove to run test") @Test public void isoscelesTrianglesHaveFirstAndLastSidesEqual() throws TriangleException { Triangle triangle = new Triangle(4, 3, 4); assertTrue(triangle.isIsosceles()); }
@Ignore("Remove to run test") @Test public void equilateralTrianglesAreAlsoIsosceles() throws TriangleException { Triangle triangle = new Triangle(4, 4, 4); assertTrue(triangle.isIsosceles()); }
@Ignore("Remove to run test") @Test public void noSidesAreEqualCantBeIsoceles() throws TriangleException { Triangle triangle = new Triangle(2, 3, 4); assertFalse(triangle.isIsosceles()); }
@Ignore("Remove to run test") @Test public void verySmallTrianglesCanBeIsosceles() throws TriangleException { Triangle triangle = new Triangle(0.5, 0.4, 0.5); assertTrue(triangle.isIsosceles()); }