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_speed0 (void *state)
 
int test_hp0 (void *state)
 
int test_hearing0 (void *state)
 
int test_smell0 (void *state)
 
int test_ac0 (void *state)
 
int test_sleep0 (void *state)
 
int test_depth0 (void *state)
 
int test_rarity0 (void *state)
 
int test_mexp0 (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_ac0 ( void state)
int test_base0 ( void state)
int test_blow0 ( void state)
int test_blow1 ( void state)
int test_color0 ( void state)
int test_depth0 ( void state)
int test_desc0 ( void state)
int test_flags0 ( void state)
int test_hearing0 ( void state)
int test_hp0 ( void state)
int test_mexp0 ( void state)
int test_name0 ( void state)
int test_rarity0 ( void state)
int test_sleep0 ( void state)
int test_smell0 ( void state)
int test_speed0 ( 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 },
{ "speed0", test_speed0 },
{ "hp0", test_hp0 },
{ "hearing0", test_hearing0 },
{ "smell0", test_smell0 },
{ "ac0", test_ac0 },
{ "sleep0", test_sleep0 },
{ "depth0", test_depth0 },
{ "rarity0", test_rarity0 },
{ "mexp0", test_mexp0 },
{ "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:219
int test_flags0(void *state)
Definition: r-info.c:183
int test_desc0(void *state)
Definition: r-info.c:194
int test_spell_freq0(void *state)
Definition: r-info.c:207
int test_ac0(void *state)
Definition: r-info.c:100
int test_depth0(void *state)
Definition: r-info.c:122
int test_mexp0(void *state)
Definition: r-info.c:144
int test_sleep0(void *state)
Definition: r-info.c:111
int test_color0(void *state)
Definition: r-info.c:45
int test_rarity0(void *state)
Definition: r-info.c:133
int test_hp0(void *state)
Definition: r-info.c:67
int test_smell0(void *state)
Definition: r-info.c:89
int test_base0(void *state)
Definition: r-info.c:32
int test_hearing0(void *state)
Definition: r-info.c:78
int test_name0(void *state)
Definition: r-info.c:21
NULL
Definition: list-summon-types.h:18
int test_speed0(void *state)
Definition: r-info.c:56