public void StartAndStop()
        {
            Dancer dancer = new TapDancer();
            Chainsaw chainsaw = new Chainsaw();

            StartAndStopper test = new StartAndStopper();
            test.StartAndStopp(dancer);
            test.StartAndStopp(chainsaw);
        }
示例#2
0
        public void StartAndStop()
        {
            Dancer   dancer   = new TapDancer();
            ChainSaw chainsaw = new ChainSaw();

            StartAndStopper test = new StartAndStopper();

            test.StartAndStop(dancer);
            test.StartAndStop(chainsaw);
        }
        public void ControllablesStopAndStart()
        {
            Dancer dancer = new TapDancer();

            Chainsaw chainsaw = new Chainsaw();

            StartAndStopper test = new StartAndStopper();

            test.StartAndStop(dancer);
            test.StartAndStop(chainsaw);
        }
示例#4
0
        public void DanceTwice()
        {
            Dancer dancer = new TapDancer();

            dancer.DanceTwice();
        }
示例#5
0
        public void DanceBabyDance()
        {
            Dancer dancer = new TapDancer();

            dancer.Dance();
        }
示例#6
0
        public void NameDefaults()
        {
            Dancer dancer = new TapDancer();

            Assert.AreEqual("Tap Dancer", dancer.Name);
        }
 public void NameDefaults()
 {
     Dancer dancer = new TapDancer();
     Assert.AreEqual("My Tap Dancer", dancer.Name);
 }
 public void DanceTwice()
 {
     Dancer dancer = new TapDancer();
     dancer.DanceTwice();
 }
 public void DanceBabyDance()
 {
     Dancer dancer = new TapDancer();
     dancer.Dance();
 }