Transpiled version (2225L) is out of date.
1 | // params = input1, input2, output, input1, input2, output, ... |
2 | svoid mapLike testFunctionValues_twoArgs_flat(O function, O... params) { |
3 | for (int i = 0; i+2 < l(params); i += 3) { |
4 | O a = params[i], b = params[i+1]; |
5 | O expected = params[i+2]; |
6 | print(function + "(" + a + ", " + b + "), expecting " + expected); |
7 | assertEqualsVerbose(expected, callFWithVarArgs(function, a, b)); |
8 | } |
9 | } |
10 | |
11 | svoid testFunctionValues_twoArgs_flat(IF2 function, O... params) { |
12 | testFunctionValues_twoArgs_flat((O) function, params); |
13 | } |
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: | 306 / 433 |
Version history: | 4 change(s) |
Referenced in: | [show references] |