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

Test getPos

parent 56ee7a06
No related branches found
No related tags found
No related merge requests found
...@@ -20,4 +20,10 @@ public class SphereTest { ...@@ -20,4 +20,10 @@ public class SphereTest {
assertEquals(1.5, mySphere.getRadius(), 0.0); assertEquals(1.5, mySphere.getRadius(), 0.0);
} }
@Test
public void testGetPos() {
Sphere mySphere = new Sphere(1.5);
assertEquals(new Point3d(0.0, 0.0, 0.0), mySphere.getPos());
}
} }
\ 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