Uses 911K of libraries. Click here for Pure Java version (4424L/23K).
1 | !7 |
2 | |
3 | import static loadableUtils.utils.Pair; |
4 | |
5 | cmodule TestRestructure > DynPrintLog { |
6 | start-thread { |
7 | Rect r = rect(1, 2, 3, 4); |
8 | S s = structure(r); |
9 | print(s); |
10 | assertEqualsVerbose(r, unstructure(s)); |
11 | |
12 | Pair p = pair(pair(1, 2)); // contains back-reference |
13 | s = structure(p); |
14 | print(s); |
15 | Pair p2 = cast unstructure(s); |
16 | assertEqualsVerbose(structure(p2), s); |
17 | } |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024570 |
Snippet name: | Test restructure with loadableUtils.utils$Rect and ...$Pair (OK) |
Eternal ID of this version: | #1024570/10 |
Text MD5: | 0ed37548a0a6c548609c03c529c1c736 |
Transpilation MD5: | d8ed4b0d6db00d1ae5eaec39a401c0ee |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-18 20:16:44 |
Source code size: | 414 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 266 / 449 |
Version history: | 9 change(s) |
Referenced in: | [show references] |