public void ConvertWordToPhonetics_Word_PhoneticsFormReturned(string inputWord, string expected) { var phonetics = new Phonetics(inputWord); var phoneticsForm = phonetics.ConvertWordToPhonetics(phonetics.ParsingWord()).ToString(); Assert.AreEqual(expected, phoneticsForm); }
public void AddVowel_Vowel_PhoneticsFormReturned(string inputWord, string expected) { var phonetics = new Phonetics(inputWord); var letters = phonetics.ParsingWord(); var phoneticsForm = phonetics.AddVowel(5, letters).ToString(); Assert.AreEqual(expected, phoneticsForm); }