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).

!7

p {
  assertEqualsVerbose(0, detectListInsertion(ll(), ll()).length());
  assertEqualsVerbose(0, detectListInsertion(ll("a"), ll("a")).length());
  assertEqualsVerbose(intRange(0, 1), detectListInsertion(ll(), ll("a"));
  assertEqualsVerbose(intRange(1, 2), detectListInsertion(ll("a", "c"), ll("a", "b", "c")));
  assertNull(detectListInsertion(ll("a", "c"), ll("a", "b", "d")));
  assertNull(detectListInsertion(ll("a"), ll()));
  print("OK");
}

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: 311 / 751
Version history: 3 change(s)
Referenced in: [show references]