Angband
Functions | Variables
mem.c File Reference
#include "unit-test.h"
#include "z-virt.h"

Functions

NOSETUP NOTEARDOWN int test_alloc (void *state)
int test_realloc (void *state)

Variables

const char * suite_name = "z-virt/mem"
struct test tests []

Function Documentation

NOSETUP NOTEARDOWN int test_alloc ( void state)

References mem_alloc(), mem_free(), and require.

int test_realloc ( void state)

References mem_free(), and mem_realloc().

Variable Documentation

const char* suite_name = "z-virt/mem"
struct test tests[]
Initial value:
{
{ "alloc", test_alloc },
{ "realloc", test_realloc },
{ NULL, NULL }
}