Libraryless. Click here for Pure Java version (2402L/16K/53K).
1 | !752 |
2 | |
3 | p { |
4 | S snippetID = "#1002079"; |
5 | startBot("Snippet MD5 Bot", "#1002079"); |
6 | S answer = sendToLocalBot("Snippet MD5 Bot", "what is the md5 of snippet " + snippetID); |
7 | new Matches m; |
8 | assertTrue(match("The md5 of snippet * is *", answer, m)); |
9 | S md5 = m.unq(1); |
10 | print("md5 from bot: " + md5); |
11 | S text = loadSnippet(snippetID); |
12 | S md5_2 = md5(text); |
13 | print("md5 from actual text: " + md5_2); |
14 | assertEquals(md5, md5_2); |
15 | print("all clear!"); |
16 | } |
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: | 689 / 736 |
Referenced in: | [show references] |