From d8431828a860078b6c63355c5abdf095be3f42e1 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sun, 7 Jan 2018 14:46:29 -0600 Subject: [PATCH] Add missing tests for sys/disk2 rom --- tests/apple2.mem.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/apple2.mem.c b/tests/apple2.mem.c index 5722ca9..bf03180 100644 --- a/tests/apple2.mem.c +++ b/tests/apple2.mem.c @@ -104,3 +104,16 @@ Test(apple2_mem, write_bank) vm_segment_set(mach->memory, 0xD073, right); cr_assert_eq(vm_segment_get(mach->ram2, 0x73), right); } + +Test(apple2_mem, init_disk2_rom) +{ + // FIXME: this isn't working, _and_ it's pretty tightly coupled into + // the create() function. We could use a better way of testing this. + //cr_assert_eq(apple2_mem_init_disk2_rom(mach), OK); +} + +Test(apple2_mem, init_sys_rom) +{ + // FIXME: same + //cr_assert_eq(apple2_mem_init_sys_rom(mach), OK); +}