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

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