Libraryless. Click here for Pure Java version (4243L/25K).
1 | please include function makeVar. |
2 | |
3 | // test against cases |
4 | svoid lambdaMapLike testTranspilationFunction_v1(IVF1<LS> f, S in, S out, S... moreInOut) {
|
5 | LS tok = jtok(in); |
6 | makeVar_varCount.set(0); |
7 | f.get(tok); |
8 | assertJavaSourceEqualsVerbose(in, out, tok); |
9 | fOr (PairS p : paramsToPairs(moreInOut)) |
10 | testTranspilationFunction_v1(f, p.a, p.b); |
11 | } |
12 | |
13 | // just apply and return transpilation |
14 | sS testTranspilationFunction_v1(IVF1<LS> f, S s) {
|
15 | ret applyTranspilationFunction(f, s); |
16 | } |
Began life as a copy of #1027849
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033013 |
| Snippet name: | testTranspilationFunction_v1 |
| Eternal ID of this version: | #1033013/1 |
| Text MD5: | ea0224e6fa0f6a231ce8c0b1ff973c93 |
| Transpilation MD5: | 3758800173a96938924cc30ecc3c4408 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-11 10:44:11 |
| Source code size: | 496 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 374 / 470 |
| Referenced in: | [show references] |