public void SplitTest_UppercaseUnderscore() { var splitter = new CamelIdSplitter(); var actual = splitter.Split("CONST_VAL"); var expected = new[] { "CONST", "VAL" }; Assert.AreEqual(expected, actual); }
public void SplitTest_BadCamelCase() { var splitter = new CamelIdSplitter(); var actual = splitter.Split("XMLparser"); var expected = new[] { "XM", "Lparser" }; Assert.AreEqual(expected, actual); }
public void SplitTest_lowercase() { var splitter = new CamelIdSplitter(); var actual = splitter.Split("lowercase"); var expected = new[] { "lowercase" }; Assert.AreEqual(expected, actual); }
public void SplitTest() { var splitter = new CamelIdSplitter(); var actual = splitter.Split("DBGetHydro"); var expected = new[] {"DB", "Get", "Hydro"}; Assert.AreEqual(expected, actual); }