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

6
LINES

< > BotCompany Repo | #1036579 // test_structure_doubleArrays

JavaX fragment (include)

svoid test_structure_doubleArrays() {
  double[] a = new { 0.0, 1.0 };
  
  assertEqualsVerbose([[dblarray{d("0.0"), d("1.0")}]], struct(a));
  assertEqualsVerbose(toList(a), toList(restruct(a)));
}

Author comment

Began life as a copy of #1036139

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036579
Snippet name: test_structure_doubleArrays
Eternal ID of this version: #1036579/4
Text MD5: 40eba2d1726fc499ad6d7fd835d5e39b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-03-20 20:50:43
Source code size: 203 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 73 / 93
Version history: 3 change(s)
Referenced in: [show references]