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

            var result = flyStrategy.Move();

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