1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-11 05:29:33 +00:00
erc-c/include/apple2/tests.h

25 lines
336 B
C

#ifndef _APPLE2_TESTS_H_
#define _APPLE2_TESTS_H_
#include "apple2/apple2.h"
#include "vm_di.h"
#include "vm_segment.h"
static apple2 *mach = NULL;
static void
setup()
{
mach = apple2_create(100, 100);
vm_di_set(VM_MACHINE, mach);
}
static void
teardown()
{
apple2_free(mach);
vm_di_set(VM_MACHINE, NULL);
}
#endif