1 | // params = input, output, input, output, ... |
2 | svoid mapLike testFunctionValuesIC(O function, O... params) {
|
3 | for (int i = 0; i+1 < l(params); i += 2) {
|
4 | O in = params[i], expected = params[i+1]; |
5 | print(function + "(" + quoteOrStr(in) + ")");
|
6 | assertEqualsVerboseIC((S) expected, (S) callF(function, in)); |
7 | } |
8 | } |
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: | 481 / 536 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |