Triangle { public double perimeter() { return s1 + s2 + s3; } Triangle(double side1, double side2, double side3); double getS1(); double getS2(); double getS3(); String getClassification(); double perimeter(); boolean equals(Object o); int hashCode(); String toString();  }
@Test public void perimeterTest() { Triangle t = new Triangle(7, 10, 7); Assert.assertEquals("perimeter test", 24, t.perimeter(), .0001); }