Angband
Functions | Variables
names.c File Reference
#include "unit-test.h"
#include "init.h"

Functions

int setup_tests (void **state)
 
int teardown_tests (void *state)
 
int test_section0 (void *state)
 
int test_word0 (void *state)
 
int test_section1 (void *state)
 
int test_word1 (void *state)
 

Variables

const char * suite_name = "parse/names"
 
struct test tests []
 

Function Documentation

int setup_tests ( void **  state)

References init_parse_names().

int teardown_tests ( void state)

References parser_destroy().

int test_section0 ( void state)

References eq, ok, and parser_parse().

int test_section1 ( void state)

References eq, ok, and parser_parse().

int test_word0 ( void state)

References eq, ok, and parser_parse().

int test_word1 ( void state)

References eq, ok, and parser_parse().

Variable Documentation

const char* suite_name = "parse/names"
struct test tests[]
Initial value:
= {
{ "section0", test_section0 },
{ "word0", test_word0 },
{ "section1", test_section1 },
{ "word1", test_word1 },
{ NULL, NULL }
}
int test_word1(void *state)
Definition: names.c:36
int test_section0(void *state)
Definition: names.c:16
int test_section1(void *state)
Definition: names.c:30
int test_word0(void *state)
Definition: names.c:22
NULL
Definition: list-summon-types.h:18