Пример #1
0
        public void CapitalNames_CapitalLetters()
        {
            // Arrange
            string str = "samuel MABELLE letitia meridith";
            // Act
            string Answer = JFun.CapitalNames(str);
            // Assert
            string Result = "Samuel Mabelle Letitia Meridith";

            Assert.AreEqual(Result, Answer);
        }
Пример #2
0
        public void CapitalNames_AllSmallLetters()
        {
            // Arrange
            string str = "mavis senaida letty";
            // Act
            string Answer = JFun.CapitalNames(str);
            // Assert
            string Result = "Mavis Senaida Letty";

            Assert.AreEqual(Result, Answer);
        }
Пример #3
0
        public void CapitalNames_CapitalAndSmallLetters()
        {
            // Arrange
            string str = "SlyVia KrisTal ShariLyn CaLista";
            // Act
            string Answer = JFun.CapitalNames(str);
            // Assert
            string Result = "Slyvia Kristal Sharilyn Calista";

            Assert.AreEqual(Result, Answer);
        }