예제 #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
        public void WorkWithIoatedVowels_NonIoatedVowelsAfterConsonants_NothingChanges(string input, string expected)
        {
            var transcriber = new WordTranscription(input);
            var actual      = transcriber.Transcribe();

            Assert.AreEqual(expected, actual.ToString());
        }
예제 #3
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());
        }
예제 #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());
        }