Skip to content

Commit

Permalink
issue #135 start adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dibyendu Majumdar committed Dec 8, 2017
1 parent 935c31f commit d0bf661
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ravi-tests/ravi_testasmvm.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
local tests = {}

tests.RETURN = function()
return
end

tests.LOADK = function()
return 1, 4.2, 'hello'
end

tests.MOVE = function(a, b)
local c,d = a,b
return c,d
end


for k,v in pairs(tests) do
print(k)
ravi.dumplua(v)
--v()
end

0 comments on commit d0bf661

Please sign in to comment.