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

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

5
LINES

< > BotCompany Repo | #129 // extractFromSnippet - test case

Lua code - System test

local split = extractFromSnippet(125, 'split')

result = split('a b')[2]
assert(result == 'b')
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 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: 818 / 225
Referenced in: [show references]