Example #1
0
 public void TestVowels_Brenden()
 {
     Assert.AreEqual(2, Vowels.HowManyVowels("Brenden"));
 }
Example #2
0
 public void TestVowels_EmptyString()
 {
     Assert.AreEqual(0, Vowels.HowManyVowels(" "));
 }
Example #3
0
 public void TestVowels_UPERCASE()
 {
     Assert.AreEqual(3, Vowels.HowManyVowels("EMANI"));
 }
Example #4
0
 public void TestVowels_SpecialCharacters()
 {
     Assert.AreEqual(4, Vowels.HowManyVowels("#$%^&%aeinmhdf&*(i"));
 }
Example #5
0
 public void TestVowels_sentence()
 {
     Assert.AreEqual(5, Vowels.HowManyVowels("The brown dog eats"));
 }