Skip to content
Snippets Groups Projects
Commit 56ee7a06 authored by Noah Mandler's avatar Noah Mandler
Browse files

Test getRadius

parent 80c0131a
No related branches found
No related tags found
No related merge requests found
......@@ -14,4 +14,10 @@ public class SphereTest {
assertEquals(14.137166941154069, mySphere.computeVolume(), 0.0);
}
@Test
public void testGetRadius() {
Sphere mySphere = new Sphere(1.5);
assertEquals(1.5, mySphere.getRadius(), 0.0);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment