1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-01-17 19:30:13 +00:00

Add test for notify_refresh, skip for draw

This commit is contained in:
Peter Evans 2018-03-07 17:06:50 -06:00
parent c3b86031bd
commit 0edfcaf370
2 changed files with 8 additions and 0 deletions

View File

@ -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);
}

View File

@ -6,3 +6,4 @@
/* Test(apple2_draw, pixel_lores) */
/* Test(apple2_draw, text) */
/* Test(apple2_draw, 40col) */
/* Test(apple2_draw, apple2_draw) */