1 | local split = extractFromSnippet(125, 'split') |
2 | |
3 | result = split('a b')[2] |
4 | assert(result == 'b') |
5 | 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
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: | 883 / 243 |
Referenced in: | [show references] |