Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1030715 // test_unstructureWithMarkers

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5991L/36K).

svoid test_unstructureWithMarkers() {
  new L l;
  l.add(l);
  S struct = structureWithExplicitMarkers(l);
  print(+struct);
  L l2 = cast unstructure(struct);
  assertEquals(1, l(l2));
  assertEquals(l2, first(l2));
}

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: 111 / 173
Version history: 1 change(s)
Referenced in: [show references]