Easy.Test/Text/WordCountTest.cs
/// <summary>
/// Test some interesting strings to ensure proper wordcount
/// </summary>
Test some interesting strings to ensure proper wordcount
Test some interesting strings to ensure proper wordcount
[TestMethod]
        public void TestFunkyStrings()
        {
            Assert.AreEqual(2, GetWordCount("     two\t words \r \n"));
            Assert.AreEqual(4, GetWordCount("word1;word2.word3-word4"));
        }
[ TestMethod ] public void TestFunkyStrings ( ) { Assert . AreEqual ( 2 , GetWordCount ( " \t \r \n " ) ) ; Assert . AreEqual ( 4 , GetWordCount ( " " ) ) ; }
Test some interesting strings to ensure proper wordcount
Test some interesting strings to ensure proper wordcount
// Whitespace // Punctuation