Dodecahedron { public double surfaceArea() { return 3 * Math.sqrt(25 + 10 * Math.sqrt(5)) * Math.pow(edge, 2); } Dodecahedron(String labelIn, String colorIn, double edgeIn); String getLabel(); boolean setLabel(String labelIn); String getColor(); boolean setColor(String colorIn); double getEdge(); boolean setEdge(double edgeIn); double surfaceArea(); double volume(); double surfaceToVolumeRatio(); String toString(); static void resetCount(); boolean equals(Object obj); int hashCode();  }
@Test public void surfaceArea() throws Exception { Assert.assertEquals(3 * Math.sqrt(25 + 10 * Math.sqrt(5)) * Math.pow(edge, 2), d.surfaceArea(), .001); }