Beispiel #1
0
        public void CapitalizerTest1()
        {
            CaseSettings cs       = new CaseSettings();
            string       expected = "Назарова-Захарова";
            string       source   = "НаЗарова-захарова";
            string       actual   = cs.Capitalizer(source);

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
        public void CapitalizerTest2()
        {
            CaseSettings cs       = new CaseSettings();
            string       expected = "Ли-Хан-Чин";
            string       source   = "Ли-хан-чин";
            string       actual   = cs.Capitalizer(source);

            Assert.AreEqual(expected, actual);
        }
Beispiel #3
0
        public void CapitalizerTest()
        {
            CaseSettings cs       = new CaseSettings();
            string       expected = "Гулам Оглы";
            string       source   = "Гулам оглы";
            string       actual   = cs.Capitalizer(source);

            Assert.AreEqual(expected, actual);
        }