svoid checkSuffixTreeSearch(SuffixTree tree, S pattern) { L<Int> correct = indicesOf(tree.fullText, pattern); L<Int> out = sorted(tree.indicesOf(pattern)); assertEquals(pattern, correct, out); }
Began life as a copy of #1029208
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: | #1029212 |
Snippet name: | checkSuffixTreeSearch |
Eternal ID of this version: | #1029212/1 |
Text MD5: | 4713684cc40ea035c21340ec5564f158 |
Author: | stefan |
Category: | javax / text searching |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-25 13:55:32 |
Source code size: | 204 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 196 / 233 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |