Libraryless. Click here for Pure Java version (7905L/51K).
1 | svoid test_LineCompCompressor() { |
2 | Random random = predictableRandomizer(); |
3 | LS lines = repF(10, () -> makeRandomID(10, random)); |
4 | SS data = new LinkedHashMap; |
5 | for i to 100: |
6 | data.put("v" + (i+1), lines(repF(10, () -> random(lines)))); |
7 | test_LineCompCompressor(data); |
8 | } |
9 | |
10 | static LineCompCompressor test_LineCompCompressor(SS data) { |
11 | pnlStruct(data); |
12 | LineCompCompressor lcc = new(data); |
13 | test_LineCompCompressor(lcc); |
14 | ret lcc; |
15 | } |
16 | |
17 | svoid test_LineCompCompressor(LineCompCompressor lcc) { |
18 | lcc.verify = lcc.verbose = true; |
19 | lcc.run(); |
20 | print(lcc.asText()); |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028198 |
Snippet name: | test_LineCompCompressor |
Eternal ID of this version: | #1028198/5 |
Text MD5: | da2c896ef218ff2f221715c1e90fd924 |
Transpilation MD5: | 0c50d719e83adaf73fc714db163d1746 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-27 00:27:45 |
Source code size: | 592 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 250 / 375 |
Version history: | 4 change(s) |
Referenced in: | [show references] |