Beispiel #1
0
        public void ItSplitsBasedOnCasing(string @in, string expected)
        {
            var @out   = StringExtentions.SplitNameParts(@in);
            var normed = string.Join("|", @out);

            Assert.AreEqual(expected, normed);
        }
Beispiel #2
0
        internal static string NormalizeMethodName(string name)
        {
            var parts    = StringExtentions.SplitNameParts(name);
            var spacings = string.Join("\\s+", parts);

            return(spacings);
        }