svoid test_lastIndexOfRangePredicate(int maxLength default 8) { for (S word : allWordsOfAlphabet_maxLength(maxLength, "ft")) { L l = map(characters(word), c -> c == 't'); assertEqualsVerbose(word, lastIndexOf(l, true), lastIndexOfRangePredicate(l(l), (i, j) -> any(subList(l, i, j)))); } }