public void ShouldReach36Degrees()
 {
     TrackingMissileLauncher launcher = new TrackingMissileLauncher();
     launcher.VertAxisPos = 45;
     launcher.Down();
     System.Threading.Thread.Sleep(1000);
     launcher.Stop();
     Assert.AreEqual(36, launcher.VertAxisPos);
 }
        public void PositionshouldNotchange()
        {
            TrackingMissileLauncher launcher = new TrackingMissileLauncher();

            launcher.HorizAxisPos = 0;
            launcher.Stop();
            launcher.Fire();
            Assert.AreEqual(0, launcher.HorizAxisPos);
        }
        public void PositionshouldNotchange()
        {
            TrackingMissileLauncher launcher = new TrackingMissileLauncher();

            launcher.HorizAxisPos = 0;
            launcher.Left();

            System.Threading.Thread.Sleep(1000);

            launcher.Stop();
            Assert.AreEqual(20, launcher.HorizAxisPos);

            System.Threading.Thread.Sleep(1000);
            Assert.AreEqual(20, launcher.HorizAxisPos);
        }
 public void ShouldReach45Degrees()
 {
     TrackingMissileLauncher launcher = new TrackingMissileLauncher();
     launcher.VertAxisPos = 0;
     launcher.Up();
     System.Threading.Thread.Sleep(5000);
     launcher.Stop();
     Assert.AreEqual(45, launcher.VertAxisPos);
 }