Download Jar. Libraryless. Click here for Pure Java version (6160L/43K).
1 | !7 |
2 | |
3 | p-exp { |
4 | assertEqualsVerbose(3, optPar(litparams(a := 3), 'a)); |
5 | assertEqualsVerbose(3, optPar(litmapparams(a := 3), 'a)); |
6 | assertEqualsVerbose(3, optPar(paramsPlus(litmapparams(a := 3), b := 4), 'a)); |
7 | assertEqualsVerbose(4, optPar(paramsPlus(litmapparams(a := 3), b := 4), 'b)); |
8 | assertEqualsVerbose(3, optPar(paramsPlus(litparams(a := 3), b := 4), 'a)); |
9 | assertEqualsVerbose(4, optPar(paramsPlus(litparams(a := 3), b := 4), 'b)); |
10 | assertEqualsVerbose(4, l(paramsPlus(litparams(a := 3), b := 4)); |
11 | assertEqualsVerbose(1, l(paramsPlus(litmapparams(a := 3), b := 4)); |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022194 |
Snippet name: | Test optPar with map (and without) |
Eternal ID of this version: | #1022194/3 |
Text MD5: | f1e1444f4383481f3753e5419e5df4d5 |
Transpilation MD5: | 84a77e96fdaf341e83235d9390e364ac |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-10 23:18:10 |
Source code size: | 592 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 335 / 1067 |
Version history: | 2 change(s) |
Referenced in: | [show references] |