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

14
LINES

< > BotCompany Repo | #1024470 - Test structure/unstructure with Short

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (9011L/64K).

!7

p-exp {
  // also test token refs (which were buggy at some point!)
  S id1 = aGlobalID();
  L l = ll("test", (short) 1, "bla", (short) -2, "test", (short) 3, "bla");
  new structure_Data data;
  data.shareStringsLongerThan = 0;
  S s = structure(l, data);
  print(s);
  O o = unstruct(s);
  print(o);
  assertEqualsVerbose(l, o);
}

Author comment

Began life as a copy of #1018731

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1024470
Snippet name: Test structure/unstructure with Short
Eternal ID of this version: #1024470/4
Text MD5: 6865bda3a7ba324d5af2aee52af59c61
Transpilation MD5: 10f65b3ef07fd3827f2d627d4f58a639
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-13 13:47:27
Source code size: 349 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 9 / 41
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1024470 & http://1024470.tinybrain.de