public void TestExpressiveWords(string S, string[] words, int expectedCount) { var stringProblems = new StringProblems(); var actualCount = stringProblems.ExpressiveWords(S, words); Assert.Equal <int>(expectedCount, actualCount); }