Libraryless. Click here for Pure Java version (1799L/12K/40K).
1 | !752 |
2 | |
3 | p { |
4 | S s = structure(new bool[] {false, true, false, true, false, true, false, true, false, false, false, false, true, true, true, true, true}); |
5 | print(s); |
6 | bool[] b = (bool[]) unstructure(s); |
7 | S s2 = structure(b); |
8 | assertEquals(s, s2); |
9 | print("ok"); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004902 |
Snippet name: | Test structure/unstructure with bool[] |
Eternal ID of this version: | #1004902/1 |
Text MD5: | c23309048ad6637adaab655981760ae0 |
Transpilation MD5: | 0e12710d732cfdc7c0938c345c0a4112 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-09-15 23:20:56 |
Source code size: | 273 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 645 / 679 |
Referenced in: | [show references] |