public void CountOccurrences_UpLowerCase() { string testString = "Hello hello HELLO hELLo"; TextFile_v1 testFile = new TextFile_v1(testString, false); Assert.AreEqual(4, testFile.CountOccurrences()["hello"]); }
public void CountOccurrences_SingleWords() { TextFile_v1 testFile = new TextFile_v1(inputString, false); Assert.AreEqual(1, testFile.CountOccurrences()["hello"]); }