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

6
LINES

< > BotCompany Repo | #1036580 // test_structure_floatArrays

JavaX fragment (include)

svoid test_structure_floatArrays() {
  float[] a = new { 0.0f, 1.0f };
  
  assertEqualsVerbose([[floatarray{fl "0.0", fl "1.0"}]], struct(a));
  assertEqualsVerbose(toList(a), toList(restruct(a)));
}

Author comment

Began life as a copy of #1036579

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036580
Snippet name: test_structure_floatArrays
Eternal ID of this version: #1036580/3
Text MD5: 54b212c39849fc5bada088044f385279
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:51:52
Source code size: 205 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 168
Version history: 2 change(s)
Referenced in: [show references]