mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-27 01:32:17 +00:00
Add test for vm_screen_dirty, exception for prepare
This commit is contained in:
parent
3329753ef7
commit
de67d5064b
@ -83,3 +83,13 @@ Test(vm_screen, last_key)
|
||||
screen->last_key = 'y';
|
||||
cr_assert_eq(vm_screen_last_key(screen), 'y');
|
||||
}
|
||||
|
||||
Test(vm_screen, dirty)
|
||||
{
|
||||
cr_assert_eq(vm_screen_dirty(screen), false);
|
||||
screen->dirty = true;
|
||||
cr_assert_eq(vm_screen_dirty(screen), true);
|
||||
}
|
||||
|
||||
// Not a ton we can do for this function; it's all SDL
|
||||
/* Test(vm_screen, prepare) */
|
||||
|
Loading…
Reference in New Issue
Block a user