Esempio n. 1
0
 public void openTest()
 {
     GearController gc = new GearController();
     gc.ShouldDeploy = true;
     Gear gear = new Gear(gc);
     gear.Deploy();
     System.Threading.Thread.Sleep(15000);
     Assert.AreEqual(GearState.LOCKDOWN,gear.GearState);
 }
Esempio n. 2
0
 public void closeTest()
 {
     GearController gc = new GearController();
     gc.ShouldDeploy = true;
     Gear gear = new Gear(gc);
     gear.Retract();
     System.Threading.Thread.Sleep(15000);
     Assert.AreEqual(GearState.LOCKUP, gear.GearState);
 }