コード例 #1
0
        public void StringToCamelCaseTest()
        {
            var actual   = NamingConventions.CamelCase("HelloWorld");
            var expected = "helloWorld";

            Assert.AreEqual(expected, actual);
        }
コード例 #2
0
        public void CapsStringToCamelCaseTest()
        {
            var actual   = NamingConventions.CamelCase("ID");
            var expected = "id";

            Assert.AreEqual(expected, actual);
        }