mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-30 06:29:48 +00:00
Add image, stream to eject test
This commit is contained in:
parent
a6c1564747
commit
3a1784a5a7
@ -81,7 +81,10 @@ Test(apple2_dd, read)
|
||||
|
||||
Test(apple2_dd, eject)
|
||||
{
|
||||
drive->image = vm_segment_create(1000);
|
||||
drive->data = vm_segment_create(1000);
|
||||
drive->image_type = DD_NIBBLE;
|
||||
drive->stream = NULL;
|
||||
apple2_dd_eject(drive);
|
||||
cr_assert_eq(drive->data, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user