Exemplo n.º 1
0
        public void Test3()
        {
            string s = "";

            Assert.AreEqual(0, Str.CamelCase(s));
        }
Exemplo n.º 2
0
        public void Test4()
        {
            string s = null;

            Assert.AreEqual(0, Str.CamelCase(s));
        }
Exemplo n.º 3
0
        public void Test1()
        {
            string s = "aab";

            Assert.AreEqual(1, Str.CamelCase(s));
        }
Exemplo n.º 4
0
        public void Test2()
        {
            string s = "heyThere";

            Assert.AreEqual(2, Str.CamelCase(s));
        }
        public void camelCases(string my_string, int expected_words)
        {
            int result = Str.CamelCase(my_string);

            Assert.AreEqual(expected_words, result);
        }
Exemplo n.º 6
0
        public void Test6()
        {
            string s = "iAmHere";

            Assert.AreEqual(3, Str.CamelCase(s));
        }
Exemplo n.º 7
0
        public void Test4()
        {
            string s = "justanotherstring";

            Assert.AreEqual(1, Str.CamelCase(s));
        }
Exemplo n.º 8
0
        public void Test2()
        {
            string s = "hello";

            Assert.AreEqual(1, Str.CamelCase(s));
        }
Exemplo n.º 9
0
        public void Test1()
        {
            string s = "letsTest";

            Assert.AreEqual(2, Str.CamelCase(s));
        }