big ass modding update

This commit is contained in:
bryanthaboi
2026-07-19 16:18:18 -04:00
parent b5a673b252
commit 47923d95b3
258 changed files with 31048 additions and 2310 deletions
+3 -5
View File
@@ -5,9 +5,8 @@
-- stub offers no love.graphics.newShader (shader() returns nil).
package.path = "./?.lua;./?/init.lua;" .. package.path
if not _G.love then _G.love = require("tests.love_stub") end
local fails, total = 0, 0
local function check(c, m) total = total + 1; if c then print("ok " .. m) else fails = fails + 1; print("FAIL " .. m) end end
local function eq(g, w, m) check(g == w, ("%s (got %s, want %s)"):format(m, tostring(g), tostring(w))) end
local S = require("tests.harness").suite("parity gbcfx")
local check, eq = S.check, S.eq
-- === assertions ===
@@ -82,5 +81,4 @@ check(drawn and drawn[1] == canvas and drawn[2] == 0 and drawn[3] == 0,
GBCFX.setLevel(0)
-- === summary ===
print(("%d/%d checks passed"):format(total - fails, total))
if fails > 0 then error(("parity_gbcfx: %d checks failed"):format(fails)) end
S.finish()