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

16
LINES

< > BotCompany Repo | #1002083 // Test Snippet MD5 Bot

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2402L/16K/53K).

!752

p {
  S snippetID = "#1002079";
  startBot("Snippet MD5 Bot", "#1002079");
  S answer = sendToLocalBot("Snippet MD5 Bot", "what is the md5 of snippet " + snippetID);
  new Matches m;
  assertTrue(match("The md5 of snippet * is *", answer, m));
  S md5 = m.unq(1);
  print("md5 from bot: " + md5);
  S text = loadSnippet(snippetID);
  S md5_2 = md5(text);
  print("md5 from actual text: " + md5_2);
  assertEquals(md5, md5_2);
  print("all clear!");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002083
Snippet name: Test Snippet MD5 Bot
Eternal ID of this version: #1002083/1
Text MD5: 12fa0a5380eab8e7300b39d1223fc0c5
Transpilation MD5: 7906b2069407ee9a4d00416965bdf1d0
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-17 19:35:15
Source code size: 471 bytes / 16 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 623 / 651
Referenced in: [show references]