Exemple #1
0
        public void GrowlReturnsSpecificString()
        {
            Stomach organ = new Stomach();
            string  noise = organ.Growl();

            Assert.That(noise, Is.EqualTo("grrr"), "Expected Growl method to return 'grrr'");
        }
Exemple #2
0
        public void GrowlReturnsString()
        {
            Stomach organ = new Stomach();
            string  noise = organ.Growl();

            Assert.That(noise, Is.InstanceOf(typeof(string)), "Expected Growl method to return a string");
        }