@Test public void testSizeOf0() { assertEquals(equipment.getSize(), SIZE, 0.0); Double newSize = 0.0; equipment.setSize(newSize); assertEquals(equipment.getSize(), newSize, 0.0); }
@Test public void testHighSize() { Double newSize = 999.999; equipment.setSize(newSize); assertEquals(equipment.getSize(), newSize, 0.0); }