More tests.

This commit is contained in:
Bruce Hill 2018-02-11 13:42:45 -08:00
parent 96e1d36f37
commit 118ab70612

View File

@ -159,6 +159,9 @@ test("Testing is_instance", function()
fv = FooVec(1,2)
assert(FooVec:is_instance(fv))
assert(not FooVec:is_instance(v))
assert(not FooVec:is_instance("asdf"))
assert(not FooVec:is_instance({}))
assert(not FooVec:is_instance(5))
end)
test("Testing spoofing", function()