예제 #1
0
 public void TestThatDogSaysOtherThings()
 {
     var d = new Dog();
     d.DogsWord = "meyow";
     var actual = d.Bark();
     Assert.AreEqual("meyow",actual);
 }
예제 #2
0
 public void TestThatDogCanSayOtherThings()
 {
     var d = new Dog();
     d.DogsWord = "meyow";
     //d.set_DogsWord("meyow");
     var actual = d.Bark();
     Assert.AreEqual("meyow", actual);
 }
예제 #3
0
 public void TestThatDogSaysLotsThings()
 {
     var d = new Dog();
     d.DogsWord = "meyow";
     d.LearnNewWord("Hello");
     d.LearnNewWord("How Are You");
     var actual = d.Bark();
     Assert.AreNotEqual("meyow", actual);
 }
예제 #4
0
 public void TestThatDogBarks()
 {
     var d = new Dog();
     var actual = d.Bark();
     Assert.AreEqual("woof", actual);
 }