This commit is contained in:
James Newton-King
2017-10-22 17:48:49 +13:00
2 changed files with 28 additions and 7 deletions
@@ -64,6 +64,10 @@ namespace Newtonsoft.Json.Tests.Utilities
Assert.AreEqual("shoutinG_CASE", StringUtils.ToCamelCase("SHOUTING_CASE"));
Assert.AreEqual("9999-12-31T23:59:59.9999999Z", StringUtils.ToCamelCase("9999-12-31T23:59:59.9999999Z"));
Assert.AreEqual("hi!! This is text. Time to test.", StringUtils.ToCamelCase("Hi!! This is text. Time to test."));
Assert.AreEqual("building", StringUtils.ToCamelCase("BUILDING"));
Assert.AreEqual("building Property", StringUtils.ToCamelCase("BUILDING Property"));
Assert.AreEqual("building Property", StringUtils.ToCamelCase("Building Property"));
Assert.AreEqual("building PROPERTY", StringUtils.ToCamelCase("BUILDING PROPERTY"));
}
[Test]