Warning: file_get_contents(http://localhost:8000/calc?cmd=136&userid=0&debug=1): failed to open stream: Cannot assign requested address in /var/www/tb/show-snippet.php on line 158
Test case for clockformat [136]

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

8
LINES

< > BotCompany Repo | #136 // Test case for clockformat

Lua code - System test

loadSnippet("#135")()

assert(clockformat(0,0)=="0:00")
assert(clockformat(0,10)=="0:10")
assert(clockformat(23,59)=="23:59")

print "clockformat is OK"
return true

test run  test run with input  download  show line numbers   

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

No comments. add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 171 [visualize]

Snippet ID: #136
Snippet name: Test case for clockformat
Eternal ID of this version: #136/1
Text MD5: 7dcfca1fff50be4de570f40444b61160
Author: stefan
Category:
Type: Lua code - System test
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-01-11 06:57:08
Source code size: 171 bytes / 8 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 809 / 208
Referenced in: [show references]