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

24 lines
327 B
C
Raw Normal View History

2018-01-17 20:58:42 +00:00
#ifndef _APPLE2_TESTS_H_
#define _APPLE2_TESTS_H_
#include "apple2/apple2.h"
2018-01-17 20:58:42 +00:00
#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