This commit is contained in:
Astronand committed 2025-09-30 12:20:47 -04:00
1 parent 1a92ff1bd2
commit 91bf28a728
65 files changed
+2587 -240

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
local errors={}
local function tables_equal(t1, t2)
if #t1 ~= #t2 then return false end
for i = 1, #t1 do
if t1[i] ~= t2[i] then return false end
end
return true
end
local function run_test(name, test_func)
local status, err = pcall(test_func)
if status then
print("[PASS] " .. name)
else
print("[FAIL] " .. name .. ": " .. err)
errors[name]=err
end
end