From 46103595c072651ade490c48c417f5d8d7ba9327 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 8 Dec 2023 21:57:52 +0100 Subject: Added a test suite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- test/1.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/1.lua (limited to 'test/1.lua') diff --git a/test/1.lua b/test/1.lua new file mode 100644 index 0000000..b51f21e --- /dev/null +++ b/test/1.lua @@ -0,0 +1,13 @@ +utils = require "utils" + +utils.StartRun("1") + +utils.MemTest("@test", {{0x08, "D6"}, {0x09, "A9"}}) + +-- The test appears to be done in a few frames. Let's run this several times +-- just in case. +for i = 0, 20, 1 do + emu.frameadvance(); +end + +utils.EndRun() -- cgit v1.2.3