Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1025484 // assertIndexOfAndContainsVerbose - for testing list implementations

JavaX fragment (include)

svoid <A> assertIndexOfAndContainsVerbose(L<A> l, A a, int i) {
  assertEqualsVerbose(i, l.indexOf(a));
  assertEqualsVerbose(i >= 0, l.contains(a));
}

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: 192 / 235
Version history: 1 change(s)
Referenced in: [show references]