Exemple #1
0
        public void FixParenthesesTest()
        {
            const string source   = @"(Hello)";
            const string expected = "( Hello )";
            string       actual   = WhitespaceFixer.Fix(source);

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void FixTest()
        {
            const string source   = @"  The quick    brown
fox          ";
            const string expected = "The quick brown fox";
            string       actual   = WhitespaceFixer.Fix(source);

            Assert.AreEqual(expected, actual);
        }