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

Functions

NOSETUP NOTEARDOWN int test_string_make (void *state)
int test_string_make_null (void *state)
int test_string_free_null (void *state)
int test_string_append (void *state)
int test_string_append_null0 (void *state)
int test_string_append_null1 (void *state)
int test_string_append_null2 (void *state)

Variables

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

Function Documentation

int test_string_append ( void state)
int test_string_append_null0 ( void state)
int test_string_append_null1 ( void state)
int test_string_append_null2 ( void state)

References ok, require, and string_append().

int test_string_free_null ( void state)

References ok, and string_free().

NOSETUP NOTEARDOWN int test_string_make ( void state)

References ok, require, s1, string_free(), and string_make().

int test_string_make_null ( void state)

References ok, require, s1, and string_make().

Variable Documentation

const char* suite_name = "z-virt/string"
struct test tests[]
Initial value:
{
{ "make", test_string_make },
{ "make-null", test_string_make_null },
{ "free-null", test_string_free_null },
{ "append", test_string_append },
{ "append-null0", test_string_append_null0 },
{ "append-null1", test_string_append_null1 },
{ "append-null2", test_string_append_null2 },
{ NULL, NULL }
}