mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-27 20:51:17 +00:00
24 lines
320 B
C
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
|