Exemplo n.º 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());
        }
Exemplo n.º 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());
        }
Exemplo n.º 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());
        }
Exemplo n.º 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());
        }
Exemplo n.º 5
0
 public void EnteredWordSet_IncorrectCharacters_ThrowException(string input)
 {
     var transctiber = new WordTranscription(input);
 }
Exemplo n.º 6
0
 public void EnteredWordSet_NoPlusNeeded_NoException(string input, string expected)
 {
     var transctiber = new WordTranscription(input);
 }
Exemplo n.º 7
0
 public void EnteredWordSet_WrongStressPlace_ThrowException()
 {
     var transctiber = new WordTranscription("ёжи+к");
 }
Exemplo n.º 8
0
 public void EnteredWordSet_StressAfterConsonant_ThrowException()
 {
     var transctiber = new WordTranscription("сл+ово");
 }
Exemplo n.º 9
0
 public void EnteredWordSet_StressSignFirstChar_ThrowException()
 {
     var transctiber = new WordTranscription("+слово");
 }
Exemplo n.º 10
0
 public void EnteredWordSet_NoStressSign_ThrowException()
 {
     var transctiber = new WordTranscription("слово");
 }
Exemplo n.º 11
0
 public void EnteredWordSet_EmptyInput_ThrowException()
 {
     var transctiber = new WordTranscription(string.Empty);
 }