Libraryless. Click here for Pure Java version (2479L/16K).
svoid test_substringsScoreIC_optimized1() { embedded void testIt(S s, S... l) { Set<S> set = litciset(l); assertEqualsVerbose(substringsScoreIC(s, set), substringsScoreIC_optimized1(s, set)); } testIt("abcd", "a", "B"); testIt("abcd", "a", "ab"); testIt("abcdab", "ab", "x"); }
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: | #1027515 |
| Snippet name: | test_substringsScoreIC_optimized1 |
| Eternal ID of this version: | #1027515/1 |
| Text MD5: | e7037fc31503310ff774a2848e5e6ca1 |
| Transpilation MD5: | d0f4199bdd5811b7791f24f75228d91e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-03-22 17:06:29 |
| Source code size: | 303 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 381 / 494 |
| Referenced in: | [show references] |