1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-23 08:31:55 +00:00

Add image, stream to eject test

This commit is contained in:
Peter Evans 2018-02-03 20:50:30 -06:00
parent a6c1564747
commit 3a1784a5a7

View File

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