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

Functions

int setup_tests (void **state)
 
int teardown_tests (void *state)
 
int test_alloc (void *state)
 
int test_append (void *state)
 
int test_colour (void *state)
 
int test_length (void *state)
 

Variables

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

Function Documentation

int setup_tests ( void **  state)

References ok.

int teardown_tests ( void state)

References ok.

int test_alloc ( void state)
int test_append ( void state)
int test_colour ( void state)
int test_length ( void state)

Variable Documentation

const char* suite_name = "z-textblock/textblock"
struct test tests[]
Initial value:
= {
{ "alloc", test_alloc },
{ "append", test_append },
{ "colour", test_colour },
{ "length", test_length },
{ NULL, NULL }
}
int test_alloc(void *state)
Definition: textblock.c:15
int test_append(void *state)
Definition: textblock.c:25
int test_colour(void *state)
Definition: textblock.c:41
int test_length(void *state)
Definition: textblock.c:56
NULL
Definition: list-summon-types.h:18