void (String less, String more, ToIntFunction<String> matchingDegree) { int iLess = matchingDegree.applyAsInt(less); int iMore = matchingDegree.applyAsInt(more); assertTrue(iLess + ">=" + iMore + "; " + less + ">=" + more, iLess < iMore); }