// params = input, output, input, output, ... svoid mapLike testFunctionValues_struct(S function, O... params) { for (int i = 0; i+1 < l(params); i += 2) { O in = params[i], expected = params[i+1]; print(function + "(" + struct(in) + ")"); assertEqualsVerbose_struct(expected, callF(function, in)); } }
Began life as a copy of #1018444
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018447 | 
| Snippet name: | testFunctionValues_struct - call function, compare output and print structs | 
| Eternal ID of this version: | #1018447/3 | 
| Text MD5: | e7a3161fa0ef98cdd1afe2ee06cf4d5f | 
| Author: | stefan | 
| Category: | javax / testing | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2019-07-07 18:23:58 | 
| Source code size: | 325 bytes / 8 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 529 / 596 | 
| Version history: | 2 change(s) | 
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |