예제 #1
0
        public void TextMapHelperGetCamelCase()
        {
            tlog.Debug(tag, $"TextMapHelperGetCamelCase START");

            string pascalCase     = "TextMapHelper";
            string camelCase      = "textMapHelper";
            string expectedResult = TextMapHelper.GetCamelCase(pascalCase);

            Assert.AreEqual(camelCase, expectedResult, "Should be equal!");

            string emptyString = "";

            expectedResult = TextMapHelper.GetCamelCase(emptyString);

            Assert.AreEqual(emptyString, expectedResult, "Should be equal!");

            tlog.Debug(tag, $"TextMapHelperGetCamelCase END (OK)");
        }