public void CanFlyMagicCarpet()
        {
            MagicCarpet carpet = new MagicCarpet("Purple");

            wizard = new Wizard("Toby", carpet);
            Assert.AreEqual("Hovering up, straightening out, flying off!", wizard.Fly());
        }
Ejemplo n.º 2
0
 public void Init()
 {
     magicCarpet = new MagicCarpet("Yellow");
 }