Libraryless. Click here for Pure Java version (5991L/36K).
1 | svoid test_unstructureWithMarkers() { |
2 | new L l; |
3 | l.add(l); |
4 | S struct = structureWithExplicitMarkers(l); |
5 | print(+struct); |
6 | L l2 = cast unstructure(struct); |
7 | assertEquals(1, l(l2)); |
8 | assertEquals(l2, first(l2)); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030715 |
Snippet name: | test_unstructureWithMarkers |
Eternal ID of this version: | #1030715/2 |
Text MD5: | 0c7737b7dc750c08a3d0146d3ba3708a |
Transpilation MD5: | 53f5c5f15b5f3a3f8c92ba8cbd81583b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-03-16 16:12:47 |
Source code size: | 226 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 192 / 271 |
Version history: | 1 change(s) |
Referenced in: | [show references] |