private static void CheckNoResultsSearch(StringSearcher <int> searcher, ITsString tss) { Assert.AreEqual(0, searcher.Search(0, tss).Count()); }
private static void CheckSearch(StringSearcher <int> searcher, ITsString tss, int[] expectedResults) { Assert.AreEqual(expectedResults.Length, searcher.Search(0, tss).Intersect(expectedResults).Count()); }