Exemple #1
0
        public void TestThatDogBarks()
        {
            var d = new Dog();

            var actual = d.Bark();
            Assert.AreEqual("woof", actual);
        }
Exemple #2
0
        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);
        }