diff --git a/tests/apple2.c b/tests/apple2.c index 0cfef87..dc70875 100644 --- a/tests/apple2.c +++ b/tests/apple2.c @@ -116,3 +116,10 @@ Test(apple2, set_memory_mode) cr_assert_eq(mach->cpu->rmem, mach->main); cr_assert_eq(mach->cpu->wmem, mach->aux); } + +Test(apple2, notify_refresh) +{ + cr_assert_eq(mach->screen->dirty, false); + apple2_notify_refresh(mach); + cr_assert_eq(mach->screen->dirty, true); +} diff --git a/tests/apple2.draw.c b/tests/apple2.draw.c index e0d1dd4..00a9af4 100644 --- a/tests/apple2.draw.c +++ b/tests/apple2.draw.c @@ -6,3 +6,4 @@ /* Test(apple2_draw, pixel_lores) */ /* Test(apple2_draw, text) */ /* Test(apple2_draw, 40col) */ +/* Test(apple2_draw, apple2_draw) */