Transpiled version (2225L) is out of date.
// params = input1, input2, output, input1, input2, output, ... svoid mapLike testFunctionValues_twoArgs_flat(O function, O... params) { for (int i = 0; i+2 < l(params); i += 3) { O a = params[i], b = params[i+1]; O expected = params[i+2]; print(function + "(" + a + ", " + b + "), expecting " + expected); assertEqualsVerbose(expected, callFWithVarArgs(function, a, b)); } } svoid testFunctionValues_twoArgs_flat(IF2 function, O... params) { testFunctionValues_twoArgs_flat((O) function, params); }
Began life as a copy of #1023865
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026547 |
Snippet name: | testFunctionValues_twoArgs_flat - call two-argument function, compare output and print |
Eternal ID of this version: | #1026547/5 |
Text MD5: | 30bd13f3d8c7be22471b7e3a4772039d |
Author: | stefan |
Category: | javax / testing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-17 14:25:28 |
Source code size: | 534 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 307 / 434 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |