Angband
Functions | Variables
r-info.c File Reference
#include "unit-test.h"
#include "unit-test-data.h"
#include "init.h"
#include "monster.h"

Functions

int setup_tests (void **state)
 
int teardown_tests (void *state)
 
int test_name0 (void *state)
 
int test_base0 (void *state)
 
int test_color0 (void *state)
 
int test_info0 (void *state)
 
int test_power0 (void *state)
 
int test_blow0 (void *state)
 
int test_blow1 (void *state)
 
int test_flags0 (void *state)
 
int test_desc0 (void *state)
 
int test_spell_freq0 (void *state)
 
int test_spells0 (void *state)
 

Variables

const char * suite_name = "parse/r-info"
 
struct test tests []
 

Function Documentation

int setup_tests ( void **  state)
int teardown_tests ( void state)

References mem_free(), parser_destroy(), and z_info.

int test_base0 ( void state)
int test_blow0 ( void state)
int test_blow1 ( void state)
int test_color0 ( void state)
int test_desc0 ( void state)
int test_flags0 ( void state)
int test_info0 ( void state)
int test_name0 ( void state)
int test_power0 ( void state)
int test_spell_freq0 ( void state)
int test_spells0 ( void state)

Variable Documentation

const char* suite_name = "parse/r-info"
struct test tests[]
Initial value:
= {
{ "name0", test_name0 },
{ "color0", test_color0 },
{ "base0", test_base0 },
{ "info0", test_info0 },
{ "power0", test_power0 },
{ "flags0", test_flags0 },
{ "desc0", test_desc0 },
{ "spell-freq0", test_spell_freq0 },
{ "spells0", test_spells0 },
{ NULL, NULL }
}
int test_spells0(void *state)
Definition: r-info.c:148
int test_info0(void *state)
Definition: r-info.c:56
int test_flags0(void *state)
Definition: r-info.c:112
int test_desc0(void *state)
Definition: r-info.c:123
int test_spell_freq0(void *state)
Definition: r-info.c:136
int test_color0(void *state)
Definition: r-info.c:45
int test_power0(void *state)
Definition: r-info.c:71
int test_base0(void *state)
Definition: r-info.c:32
int test_name0(void *state)
Definition: r-info.c:21
NULL
Definition: list-summon-types.h:18