1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-27 20:51:17 +00:00
erc-c/include/apple2.tests.h
2018-01-17 14:58:42 -06:00

24 lines
320 B
C

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