Lua code - System testloadSnippet("#135")()
assert(clockformat(0,0)=="0:00")
assert(clockformat(0,10)=="0:10")
assert(clockformat(23,59)=="23:59")
print "clockformat is OK"
return truetest 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
| 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: | 1235 / 327 |
| Referenced in: | #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |