Libraryless. Click here for Pure Java version (4582L/26K).
// params = input, output, input, output, ... svoid lambdaMapLike testFunctionValues(IF1 function, O... params) { for (int i = 0; i+1 < l(params); i += 2) { O in = params[i], expected = params[i+1]; testFunctionValue(function, in, expected); } }
Began life as a copy of #1013575
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1018444 |
Snippet name: | testFunctionValues - call function, compare output and print |
Eternal ID of this version: | #1018444/9 |
Text MD5: | 933656980e8c78f7ba0161e42cff7660 |
Transpilation MD5: | 7cbcc70aba56107cc44e75a565f31824 |
Author: | stefan |
Category: | javax / testing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-26 17:59:18 |
Source code size: | 263 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 469 / 662 |
Version history: | 8 change(s) |
Referenced in: | [show references] |