public void TestThatDogBarks() { var d = new Dog(); var actual = d.Bark(); Assert.AreEqual("woof", actual); }
public void TestThatDogCanRunAtAnySpeed() { var d = new Dog(); d.Speed = 200; var actual = d.Run(); Assert.AreEqual("I am running at 200 Miles an Hour.", actual); }
public void TestThatDogCanSayOtherThings() { var d = new Dog(); d.DogsWord = "meyow"; d.LearnNewWord("Hellow"); d.LearnNewWord("How Are You"); var actual = d.Bark(); Assert.AreEqual("meyow", actual); }