public void StringTranslit_EnglishRussian_SymbolsContainedInCombinations(string stringForTranslit, string expected) { StringTransliterator stringTransliterator = new StringTransliterator(); string actual = stringTransliterator.StringTranslit(stringForTranslit); Assert.AreEqual(expected, actual); }
public void StringTranslit_RussianEnglish_LettersToCombination() { string stringForTranslit = "ёжхцчшщюя"; string expected = "yozhkhtschshschyuya"; StringTransliterator stringTransliterator = new StringTransliterator(); string actual = stringTransliterator.StringTranslit(stringForTranslit); Assert.AreEqual(expected, actual); }
public void StringTranslit_RussianEnglish_SimpleWord() { string stringForTranslit = "абвгдек"; string expected = "abvgdek"; StringTransliterator stringTransliterator = new StringTransliterator(); string actual = stringTransliterator.StringTranslit(stringForTranslit); Assert.AreEqual(expected, actual); }
public void StringTranslit_EnglishRussian_SimpleWord() { string stringForTranslit = "ptokan"; string expected = "птокан"; StringTransliterator stringTransliterator = new StringTransliterator(); string actual = stringTransliterator.StringTranslit(stringForTranslit); Assert.AreEqual(expected, actual); }