Dodecahedron { public double surfaceToVolumeRatio() { return surfaceArea() / volume(); } 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 surfaceToVolumeRatio() throws Exception { Assert.assertEquals( (3 * Math.sqrt(25 + 10 * Math.sqrt(5)) * Math.pow(edge, 2)) / (((15 + 7 * Math.sqrt(5)) / (4)) * Math.pow(edge, 3)), d.surfaceToVolumeRatio(), .001 ); }