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