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