public void FlyStrategyReturnsFlyTest()
        {
            var flyStrategy = new FlyStrategy();

            var result = flyStrategy.Move();

            Assert.AreEqual(result, "Fly");
        }
예제 #2
0
 public Rocket()
 {
     MovingType = new FlyStrategy();
 }
예제 #3
0
 public Plane()
 {
     MovingType = new FlyStrategy();
 }
예제 #4
0
 public Drone()
 {
     MovingType = new FlyStrategy();
 }