svoid test_LCSearcher_v1_systematically(int max) { for (int n = 0; n <= max; n++) { for (S text : allABCCombinationsOfLength(n)) { print(+text); for (int j = 1; j <= n; j++) for (S query : allABCCombinationsOfLength(j)) { new LCSearcher_v1 searcher; searcher.text = text; assertEqualsVerbose(query, indicesOf(text, query), searcher.search(query)); } } } }