Пример #1
0
 public void TestCamelCase()
 {
     {
         var s = NamingHelper.CamelCaseFromString(" hello world, this is some long string ");
         Assert.AreEqual("HelloWorldThisIsSomeLongString", s);
     }
     {
         var s = NamingHelper.CamelCaseFromString("HelloWorld");
         Assert.AreEqual("HelloWorld", s);
     }
     {
         var s = NamingHelper.CamelCaseFromString("hi SQL world");
         Assert.AreEqual("HiSQLWorld", s);
     }
 }