Run integration tests in CI

This commit is contained in:
elsid 2022-06-06 01:10:33 +02:00
parent 8a13cde778
commit 7989d1645f
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625
9 changed files with 150 additions and 29 deletions

View file

@ -52,6 +52,12 @@ function M.expectAlmostEqual(v1, v2, msg)
end
end
function M.expectGreaterOrEqual(v1, v2, msg)
if not (v1 >= v2) then
error(string.format('%s: %f >= %f', msg or '', v1, v2), 2)
end
end
local localTests = {}
local localTestRunner = nil