@Test public void testGearIsMoving() { theGear.setGearIsMoving(true); assertTrue(theGear.getGearIsMoving() == true); assertTrue(theGear.getGearDown() == false); assertTrue(theGear.getGearUp() == false); }
@Test public void testGear() { assertTrue(theGear != null); assertTrue(theGear.getGearDown() == false); assertTrue(theGear.getGearUp() == true); assertTrue(theGear.getGearIsMoving() == false); assertTrue(theGear.theta == 0); }