1 | svoid test_indicesOfTokenPredicateSequence() { |
2 | assertEqualsVerbose(ll(1, 5), indicesOfTokenPredicateSequence(javaTok("a 1 b 2"), ll(f isIdentifier, f isInteger))); |
3 | assertEqualsVerbose(ll(1), indicesOfTokenPredicateSequence(javaTok("a 1 b b"), ll(f isIdentifier, f isInteger))); |
4 | } |
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: | #1023508 |
Snippet name: | test_indicesOfTokenPredicateSequence (OK) |
Eternal ID of this version: | #1023508/5 |
Text MD5: | ac0fe83e869ded337732a71314afbc84 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-26 14:21:06 |
Source code size: | 286 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 239 / 281 |
Version history: | 4 change(s) |
Referenced in: | [show references] |