示例#1
0
        public void CheckVoiceLevelDown_Consonants_VoiceLevelChanges(string input, string expected)
        {
            var transcriber = new WordTranscription(input);
            var actual      = transcriber.Transcribe();

            Assert.AreEqual(expected, actual.ToString());
        }
示例#2
0
        [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());
        }
示例#3
0
        public void WorkWithIoatedVowels_NonIoatedVowelsAfterConsonants_NothingChanges(string input, string expected)
        {
            var transcriber = new WordTranscription(input);
            var actual      = transcriber.Transcribe();

            Assert.AreEqual(expected, actual.ToString());
        }
示例#4
0
        public void CheckForUnstressedO_WordsWithOLetter_OisAWhereNecessary(string input, string expected)
        {
            var transcriber = new WordTranscription(input);
            var actual      = transcriber.Transcribe();

            Assert.AreEqual(expected, actual.ToString());
        }
示例#5
0
 public void EnteredWordSet_IncorrectCharacters_ThrowException(string input)
 {
     var transctiber = new WordTranscription(input);
 }
示例#6
0
 public void EnteredWordSet_NoPlusNeeded_NoException(string input, string expected)
 {
     var transctiber = new WordTranscription(input);
 }
示例#7
0
 public void EnteredWordSet_WrongStressPlace_ThrowException()
 {
     var transctiber = new WordTranscription("ёжи+к");
 }
示例#8
0
 public void EnteredWordSet_StressAfterConsonant_ThrowException()
 {
     var transctiber = new WordTranscription("сл+ово");
 }
示例#9
0
 public void EnteredWordSet_StressSignFirstChar_ThrowException()
 {
     var transctiber = new WordTranscription("+слово");
 }
示例#10
0
 public void EnteredWordSet_NoStressSign_ThrowException()
 {
     var transctiber = new WordTranscription("слово");
 }
示例#11
0
 public void EnteredWordSet_EmptyInput_ThrowException()
 {
     var transctiber = new WordTranscription(string.Empty);
 }