mirror of
https://github.com/pevans/erc-c.git
synced 2025-08-11 23:25:12 +00:00
Add test for notify_refresh, skip for draw
This commit is contained in:
@@ -116,3 +116,10 @@ Test(apple2, set_memory_mode)
|
|||||||
cr_assert_eq(mach->cpu->rmem, mach->main);
|
cr_assert_eq(mach->cpu->rmem, mach->main);
|
||||||
cr_assert_eq(mach->cpu->wmem, mach->aux);
|
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);
|
||||||
|
}
|
||||||
|
@@ -6,3 +6,4 @@
|
|||||||
/* Test(apple2_draw, pixel_lores) */
|
/* Test(apple2_draw, pixel_lores) */
|
||||||
/* Test(apple2_draw, text) */
|
/* Test(apple2_draw, text) */
|
||||||
/* Test(apple2_draw, 40col) */
|
/* Test(apple2_draw, 40col) */
|
||||||
|
/* Test(apple2_draw, apple2_draw) */
|
||||||
|
Reference in New Issue
Block a user