public void TestCounter(string text, string word, int expected) { ocucount.Counter c = new ocucount.Counter(text); Assert.Equal(c.getWordCount(word).num, expected); }
public void TestCounterLength(string text, int expected) { ocucount.Counter c = new ocucount.Counter(text); Assert.Equal(c.dict.Count, expected); }