Libraryless. Click here for Pure Java version (13254L/77K).
svoid test_structure_shortArrays() { short[] a = new { 0x1234, 0x5678 }; assertEqualsVerbose([[shortarray "12345678"]], struct(a)); assertEqualsVerbose(toList(a), toList(restruct(a))); }
Began life as a copy of #1031244
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035891 |
Snippet name: | test_structure_shortArrays |
Eternal ID of this version: | #1035891/1 |
Text MD5: | 816dd67d81dadc51f3eadaf38e4bf4e8 |
Transpilation MD5: | 824a9cc4b810baea5aedde6c4742d1dc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-08 16:07:57 |
Source code size: | 200 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 139 / 201 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1036139 - test_structure_longArrays |