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

5
LINES

< > BotCompany Repo | #162 // assertEquals

Lua code

function assertEquals(actual, expected)
  if actual ~= expected then
    error("assertEquals: "..tostring(actual).." - expected: "..tostring(expected))
  end
end

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 165 [visualize]

Snippet ID: #162
Snippet name: assertEquals
Eternal ID of this version: #162/1
Text MD5: 7de6c4c6403e102c9a6d130b5cdfb744
Author: stefan
Category:
Type: Lua code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-01-14 02:30:46
Source code size: 165 bytes / 5 lines
Pitched / IR pitched: Yes / Yes
Views / Downloads: 829 / 215
Referenced in: [show references]