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

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

5
LINES

< > BotCompany Repo | #222 // Test for simplifyInput

Lua code - System test

get("#221") -- simplifyInput
get("#162") -- assertEquals

assertEquals(simplifyInput("  How ARE   you?    "), "how are you")
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 140 [visualize]

Snippet ID: #222
Snippet name: Test for simplifyInput
Eternal ID of this version: #222/1
Text MD5: 490e63fe8606d3a28a2be7cf3d97e90a
Author: stefan
Category: standard functions
Type: Lua code - System test
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-02-01 18:31:06
Source code size: 140 bytes / 5 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 819 / 214
Referenced in: #1003263 - Stylesheet for Blog
#1003349 - Output of Google Video Search
#1014042 - https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js
#1016322 - CSS for BotCompany.de
#1025977 - bootstrap.min.css v3.3.0
#1028303 - ADAptive Chat Bot Demo Page
#1032530 - husain window design css
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)