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

6
LINES

< > BotCompany Repo | #1036139 // test_structure_longArrays

JavaX fragment (include)

svoid test_structure_longArrays() {
  long[] a = new { 0x1234567812345678L, 0xFEDCFEDC12343213L };
  
  assertEqualsVerbose([[longarray "1234567812345678fedcfedc12343213"]], struct(a));
  assertEqualsVerbose(toList(a), toList(restruct(a)));
}

Author comment

Began life as a copy of #1035891

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036139
Snippet name: test_structure_longArrays
Eternal ID of this version: #1036139/4
Text MD5: 49e42e9e8879bf17cb82e6aea53f6cf5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-28 19:20:02
Source code size: 247 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 137 / 150
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1036579 - test_structure_doubleArrays