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_innate_freq0 (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

◆ setup_tests()

int setup_tests ( void **  state)

◆ teardown_tests()

int teardown_tests ( void state)

◆ test_ac0()

int test_ac0 ( void state)

◆ test_base0()

int test_base0 ( void state)

◆ test_blow0()

int test_blow0 ( void state)

◆ test_blow1()

int test_blow1 ( void state)

◆ test_color0()

int test_color0 ( void state)

◆ test_depth0()

int test_depth0 ( void state)

◆ test_desc0()

int test_desc0 ( void state)

◆ test_flags0()

int test_flags0 ( void state)

◆ test_hearing0()

int test_hearing0 ( void state)

◆ test_hp0()

int test_hp0 ( void state)

◆ test_innate_freq0()

int test_innate_freq0 ( void state)

◆ test_mexp0()

int test_mexp0 ( void state)

◆ test_name0()

int test_name0 ( void state)

◆ test_rarity0()

int test_rarity0 ( void state)

◆ test_sleep0()

int test_sleep0 ( void state)

◆ test_smell0()

int test_smell0 ( void state)

◆ test_speed0()

int test_speed0 ( void state)

◆ test_spell_freq0()

int test_spell_freq0 ( void state)

◆ test_spells0()

int test_spells0 ( void state)

Variable Documentation

◆ suite_name

const char* suite_name = "parse/r-info"

◆ tests

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 },
{ "innate-freq0", test_innate_freq0 },
{ "spell-freq0", test_spell_freq0 },
{ "spells0", test_spells0 },
{ NULL, NULL }
}
int test_spells0(void *state)
Definition: r-info.c:233
int test_flags0(void *state)
Definition: r-info.c:187
int test_desc0(void *state)
Definition: r-info.c:198
int test_spell_freq0(void *state)
Definition: r-info.c:222
int test_ac0(void *state)
Definition: r-info.c:104
int test_depth0(void *state)
Definition: r-info.c:126
int test_mexp0(void *state)
Definition: r-info.c:148
int test_sleep0(void *state)
Definition: r-info.c:115
int test_innate_freq0(void *state)
Definition: r-info.c:211
int test_color0(void *state)
Definition: r-info.c:49
int test_rarity0(void *state)
Definition: r-info.c:137
int test_hp0(void *state)
Definition: r-info.c:71
int test_smell0(void *state)
Definition: r-info.c:93
int test_base0(void *state)
Definition: r-info.c:36
int test_hearing0(void *state)
Definition: r-info.c:82
int test_name0(void *state)
Definition: r-info.c:25
int test_speed0(void *state)
Definition: r-info.c:60