mirror of
https://github.com/pevans/erc-c.git
synced 2025-02-17 07:32:05 +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)
|
Test(apple2_dd, eject)
|
||||||
{
|
{
|
||||||
|
drive->image = vm_segment_create(1000);
|
||||||
drive->data = vm_segment_create(1000);
|
drive->data = vm_segment_create(1000);
|
||||||
|
drive->image_type = DD_NIBBLE;
|
||||||
|
drive->stream = NULL;
|
||||||
apple2_dd_eject(drive);
|
apple2_dd_eject(drive);
|
||||||
cr_assert_eq(drive->data, NULL);
|
cr_assert_eq(drive->data, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user