@Test public void getsFirstIndexOfNonExistantElement() { vector.add(new Circle(2.0)); assertEquals(-1, vector.indexOf(new Square(2.0))); }
@Test public void getsFirstIndexOfExistantElement() { Circle s = new Circle(2.0); vector.add(s); assertEquals(0, vector.indexOf(s)); }