// params = input, output, input, output, ... svoid mapLike testFunctionValuesIC(O function, O... params) { for (int i = 0; i+1 < l(params); i += 2) { O in = params[i], expected = params[i+1]; print(function + "(" + quoteOrStr(in) + ")"); assertEqualsVerboseIC((S) expected, (S) callF(function, in)); } }
Began life as a copy of #1018444
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: | #1023083 |
| Snippet name: | testFunctionValuesIC - call function, compare output and print |
| Eternal ID of this version: | #1023083/5 |
| Text MD5: | e1bf66001b9e602ff54d622d45b7ee98 |
| Author: | stefan |
| Category: | javax / testing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-05-15 22:19:08 |
| Source code size: | 327 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 482 / 536 |
| Version history: | 4 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |