public void CountingFrequencyOfUseTest(string inputString, string[] stringArray, IEnumerable <int> expected, string assertMessage) { IEnumerable <int> actual = RegExp.CountingFrequencyOfUse(inputString, stringArray); Assert.AreEqual(expected, actual, assertMessage); }