svoid test_startsWithOneOf_treeSet() { print("1"); assertTrue(startsWithOneOf_treeSet("potato", littreeset("pot"))); print("2"); assertTrue(startsWithOneOf_treeSet("potato", littreeset("pot", "potash"))); print("3"); assertTrue(startsWithOneOf_treeSet("potato", littreeset("pot", "pota"))); print("4"); assertFalse(startsWithOneOf_treeSet("potato", littreeset("potash"))); print("5"); assertFalse(startsWithOneOf_treeSet("potato", littreeset())); print("6"); assertFalse(startsWithOneOf_treeSet("pot", littreeset("potash"))); print("7"); assertTrue(startsWithOneOf_treeSet("potato", littreeset("potato"))); }
Began life as a copy of #1022122
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022123 |
Snippet name: | test_startsWithOneOf_treeSet |
Eternal ID of this version: | #1022123/7 |
Text MD5: | 527fb61920864059104ef55d0408bba2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-08 00:01:10 |
Source code size: | 651 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 252 / 301 |
Version history: | 6 change(s) |
Referenced in: | [show references] |