1 | svoid <A> assertIndexOfAndContainsVerbose(L<A> l, A a, int i) { |
2 | assertEqualsVerbose(i, l.indexOf(a)); |
3 | assertEqualsVerbose(i >= 0, l.contains(a)); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025484 |
Snippet name: | assertIndexOfAndContainsVerbose - for testing list implementations |
Eternal ID of this version: | #1025484/2 |
Text MD5: | 97edd4a08df93865a03101f27456ff58 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-30 22:29:06 |
Source code size: | 154 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 238 |
Version history: | 1 change(s) |
Referenced in: | [show references] |