Libraryless. Click here for Pure Java version (3038L/19K).
svoid test_fullPhraseCache_tokenRanges() { LS tok = javaTokNPunctuation("don't be evil"); assertEqualsVerbose(ll("be evil"), getJoinedTokenRangesWithoutN(tok, fullPhraseCache_tokenRanges( makeFullPhraseCache("be evil", "evil"), tok))); tok = javaTokNPunctuation("you are evil"); assertEqualsVerbose(ll("evil"), getJoinedTokenRangesWithoutN(tok, fullPhraseCache_tokenRanges( makeFullPhraseCache("be evil", "evil"), tok))); }
Began life as a copy of #1022311
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: | #1026402 | 
| Snippet name: | test_fullPhraseCache_tokenRanges | 
| Eternal ID of this version: | #1026402/5 | 
| Text MD5: | cada34a041af87551a32626a44179ac4 | 
| Transpilation MD5: | a9a7f8ee9c06802c9a941e982b8caf3b | 
| Author: | stefan | 
| Category: | javax / a.i. | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-01-02 14:06:57 | 
| Source code size: | 472 bytes / 12 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 413 / 552 | 
| Version history: | 4 change(s) | 
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |