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

11
LINES

< > BotCompany Repo | #1013477 // Test detectListInsertion (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (2477L/16K).

1  
!7
2  
3  
p {
4  
  assertEqualsVerbose(0, detectListInsertion(ll(), ll()).length());
5  
  assertEqualsVerbose(0, detectListInsertion(ll("a"), ll("a")).length());
6  
  assertEqualsVerbose(intRange(0, 1), detectListInsertion(ll(), ll("a"));
7  
  assertEqualsVerbose(intRange(1, 2), detectListInsertion(ll("a", "c"), ll("a", "b", "c")));
8  
  assertNull(detectListInsertion(ll("a", "c"), ll("a", "b", "d")));
9  
  assertNull(detectListInsertion(ll("a"), ll()));
10  
  print("OK");
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013477
Snippet name: Test detectListInsertion (OK)
Eternal ID of this version: #1013477/4
Text MD5: fb4f742fba6b9cf1a7b2c6086bbe0618
Transpilation MD5: 66723c0ce2262b8ca3951d4396abf316
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-07 14:18:18
Source code size: 461 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 437 / 1057
Version history: 3 change(s)
Referenced in: [show references]