예제 #1
0
        public void Rules_SonornAfterJ()
        {
            string word   = "стойло";
            string result = Syllables.Rules(word);

            Assert.AreEqual("стой-ло", result);
        }
예제 #2
0
        public void Rules_SonornSonorn()
        {
            string word   = "полный";
            string result = Syllables.Rules(word);

            Assert.AreEqual("по-лный", result);
        }
예제 #3
0
        public void Rules_DoubleShumn()
        {
            string word   = "такса";
            string result = Syllables.Rules(word);

            Assert.AreEqual("та-кса", result);
        }
예제 #4
0
        public void Rules_GlasnAfterGlasn()
        {
            string word   = "диалог";
            string result = Syllables.Rules(word);

            Assert.AreEqual("ди-а-лог", result);
        }
예제 #5
0
        public void Rules_ShumnAfterGlasn()
        {
            string word   = "роса";
            string result = Syllables.Rules(word);

            Assert.AreEqual("ро-са", result);
        }
예제 #6
0
        public void Rules_DoubleLetter()
        {
            string word   = "масса";
            string result = Syllables.Rules(word);

            Assert.AreEqual("ма-сса", result);
        }
예제 #7
0
        public void Rules_GlasnSonornGlasn()
        {
            string word   = "око";
            string result = Syllables.Rules(word);

            Assert.AreEqual("о-ко", result);
        }
예제 #8
0
        public void Rules_OneSlog()
        {
            string word   = "слог";
            string result = Syllables.Rules(word);

            Assert.AreEqual("слог", result);
        }
예제 #9
0
        public void Rules_JShumn()
        {
            string word   = "бойкий";
            string result = Syllables.Rules(word);

            Assert.AreEqual("бой-кий", result);
        }
예제 #10
0
        public void Rules_UnknownSymbol_NorLetterNorHyphren()
        {
            string word   = "сло8о";
            string result = Syllables.Rules(word);

            Assert.AreEqual("сло8-о", result);
        }
예제 #11
0
        public void Rules_GlasnShumnSonorn()
        {
            string word   = "весна";
            string result = Syllables.Rules(word);

            Assert.AreEqual("ве-сна", result);
        }
예제 #12
0
        public void Rules_ContainsHyphren_NoGlasn()
        {
            string word   = "зачем-то";
            string result = Syllables.Rules(word);

            Assert.AreEqual("за-чем-то", result);
        }
예제 #13
0
        public void Rules_UnknownSymbol_Sonorn()
        {
            string word   = "слмъово";
            string result = Syllables.Rules(word);

            Assert.AreEqual("слмъо-во", result);
        }
예제 #14
0
        public void Rules_UnknownSymbol_NoSonorn()
        {
            string word   = "вьюга";
            string result = Syllables.Rules(word);

            Assert.AreEqual("вью-га", result);
        }
예제 #15
0
        public void Rules_ContainsHyphren_GlasnSlog()
        {
            string word   = "как-то";
            string result = Syllables.Rules(word);

            Assert.AreEqual("как-то", result);
        }