public void CheckVoiceLevelDown_Consonants_VoiceLevelChanges(string input, string expected) { var transcriber = new WordTranscription(input); var actual = transcriber.Transcribe(); Assert.AreEqual(expected, actual.ToString()); }
[DataRow("сло+ю", "слой'у")] // After + sign public void WorkWithIoatedVowels_IoatedWhereJIsNeeded_JAddedPairChanged(string input, string expected) { var transcriber = new WordTranscription(input); var actual = transcriber.Transcribe(); Assert.AreEqual(expected, actual.ToString()); }
public void WorkWithIoatedVowels_NonIoatedVowelsAfterConsonants_NothingChanges(string input, string expected) { var transcriber = new WordTranscription(input); var actual = transcriber.Transcribe(); Assert.AreEqual(expected, actual.ToString()); }
public void CheckForUnstressedO_WordsWithOLetter_OisAWhereNecessary(string input, string expected) { var transcriber = new WordTranscription(input); var actual = transcriber.Transcribe(); Assert.AreEqual(expected, actual.ToString()); }
public void EnteredWordSet_IncorrectCharacters_ThrowException(string input) { var transctiber = new WordTranscription(input); }
public void EnteredWordSet_NoPlusNeeded_NoException(string input, string expected) { var transctiber = new WordTranscription(input); }
public void EnteredWordSet_WrongStressPlace_ThrowException() { var transctiber = new WordTranscription("ёжи+к"); }
public void EnteredWordSet_StressAfterConsonant_ThrowException() { var transctiber = new WordTranscription("сл+ово"); }
public void EnteredWordSet_StressSignFirstChar_ThrowException() { var transctiber = new WordTranscription("+слово"); }
public void EnteredWordSet_NoStressSign_ThrowException() { var transctiber = new WordTranscription("слово"); }
public void EnteredWordSet_EmptyInput_ThrowException() { var transctiber = new WordTranscription(string.Empty); }