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

21
LINES

< > BotCompany Repo | #1028198 // test_LineCompCompressor

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7905L/51K).

svoid test_LineCompCompressor() {
  Random random = predictableRandomizer();
  LS lines = repF(10, () -> makeRandomID(10, random));
  SS data = new LinkedHashMap;
  for i to 100:
    data.put("v" + (i+1), lines(repF(10, () -> random(lines))));
  test_LineCompCompressor(data);
}

static LineCompCompressor test_LineCompCompressor(SS data) {
  pnlStruct(data);
  LineCompCompressor lcc = new(data);
  test_LineCompCompressor(lcc);
  ret lcc;
}

svoid test_LineCompCompressor(LineCompCompressor lcc) {
  lcc.verify = lcc.verbose = true;
  lcc.run();
  print(lcc.asText());
}

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: 133 / 212
Version history: 4 change(s)
Referenced in: [show references]