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

7
LINES

< > BotCompany Repo | #1017452 // Test allCombinations (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (7409L/52K).

1  
!7
2  
3  
p-exp {
4  
  assertSize(4, pnl(asList(allCombinations(ll(ll("a", "b"), ll("c"), ll("d", "e"))))));
5  
  assertEqualsVerbose(ll(ll()), asList(allCombinations(ll())));
6  
  assertEqualsVerbose(ll(), asList(allCombinations(ll(ll(), ll("a")))));
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017452
Snippet name: Test allCombinations (OK)
Eternal ID of this version: #1017452/11
Text MD5: be68410f7cb3278619723dbacf3c98ed
Transpilation MD5: 4b97edd3c1d96d9364b102be78e50547
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-21 13:23:19
Source code size: 244 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 545 / 1274
Version history: 10 change(s)
Referenced in: [show references]