1 | // last element of inAndExpected is expected result |
2 | svoid mapLike testFunctionValueIC(O function, O... inAndExpected) { |
3 | S expected = cast last(inAndExpected); |
4 | O[] in = dropLast(inAndExpected); |
5 | assertEqualsVerboseIC(renderFunctionCall(str(function), in), expected, (S) callF(function, in)); |
6 | } |
Began life as a copy of #1025563
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: | #1028908 |
Snippet name: | testFunctionValueIC - call function, compare output and print |
Eternal ID of this version: | #1028908/1 |
Text MD5: | ac2d10b467f4724a7b3966413c26d6df |
Author: | stefan |
Category: | javax / testing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-11 19:29:39 |
Source code size: | 302 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 125 / 164 |
Referenced in: | [show references] |