Add some more unit tests

This commit is contained in:
2024-02-26 16:59:14 -06:00
parent 2b76ba96ac
commit f68c24d9ea
6 changed files with 491 additions and 4 deletions

View File

@@ -127,6 +127,8 @@ describe("Var", function()
assert.equal(v2, terms[2].var)
assert.equal(-1.0, terms[2].coefficient)
-- TODO: terms and expressions
assert.error(function()
local _ = v - "foo"
end)