svoid testFullTextSearcherIC(SS texts, S query, IF1<S, Iterable<S>> searcher, TimeCollector tc, int repetitions) { Cl<S> solution = asSet(keysWhereValueContainsIC(query, texts)); repeat repetitions { long time = nanos(); Cl<S> result = asCollection(searcher.get(query)); tc.addNanos(nanos()-time); for (S s : setDiff_bothWays(solution, result)) fail("Searcher " + searcher + " was wrong on " + s); } }
Began life as a copy of #1028997
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029001 |
| Snippet name: | testFullTextSearcherIC |
| Eternal ID of this version: | #1029001/1 |
| Text MD5: | 34d2dc382a04ed83e9d4bf66a56ff82e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-16 18:25:11 |
| Source code size: | 438 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 425 / 475 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |