1 | svoid test_startsWithOneOf_treeSet() { |
2 | print("1"); |
3 | assertTrue(startsWithOneOf_treeSet("potato", littreeset("pot"))); |
4 | print("2"); |
5 | assertTrue(startsWithOneOf_treeSet("potato", littreeset("pot", "potash"))); |
6 | print("3"); |
7 | assertTrue(startsWithOneOf_treeSet("potato", littreeset("pot", "pota"))); |
8 | print("4"); |
9 | assertFalse(startsWithOneOf_treeSet("potato", littreeset("potash"))); |
10 | print("5"); |
11 | assertFalse(startsWithOneOf_treeSet("potato", littreeset())); |
12 | print("6"); |
13 | assertFalse(startsWithOneOf_treeSet("pot", littreeset("potash"))); |
14 | print("7"); |
15 | assertTrue(startsWithOneOf_treeSet("potato", littreeset("potato"))); |
16 | } |
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: | 254 / 304 |
Version history: | 6 change(s) |
Referenced in: | [show references] |