@Test public void clearsAVector() { fillVector(); assertEquals(vector.capacity(), vector.size()); vector.clear(); assertEquals(0, vector.size()); }
@Test public void checksVectorSize() { assertEquals(0, vector.size()); vector.add(new Square(2.0)); assertEquals(1, vector.size()); }