Lua code - System testlocal split = extractFromSnippet(125, 'split')
result = split('a b')[2]
assert(result == 'b')
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 | 110 | [visualize] |
| Snippet ID: | #129 |
| Snippet name: | extractFromSnippet - test case |
| Eternal ID of this version: | #129/1 |
| Text MD5: | e010d77166947de20f34e15926ba9853 |
| Author: | stefan |
| Category: | system tests |
| Type: | Lua code - System test |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2014-01-10 18:09:51 |
| Source code size: | 110 bytes / 5 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1332 / 367 |
| Referenced in: | #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |