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

Functions

int setup_tests (void **state)
 
int teardown_tests (void *state)
 
int test_name0 (void *state)
 
int test_graphics0 (void *state)
 
int test_mimic0 (void *state)
 
int test_priority0 (void *state)
 
int test_flags0 (void *state)
 
int test_info0 (void *state)
 
int test_walk_msg0 (void *state)
 
int test_run_msg0 (void *state)
 
int test_hurt_msg0 (void *state)
 
int test_die_msg0 (void *state)
 
int test_resist_flag0 (void *state)
 

Variables

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

Function Documentation

◆ setup_tests()

int setup_tests ( void **  state)

References init_parse_feat().

◆ teardown_tests()

int teardown_tests ( void state)

References parser_destroy().

◆ test_die_msg0()

int test_die_msg0 ( void state)

◆ test_flags0()

int test_flags0 ( void state)

◆ test_graphics0()

int test_graphics0 ( void state)

◆ test_hurt_msg0()

int test_hurt_msg0 ( void state)

◆ test_info0()

int test_info0 ( void state)

◆ test_mimic0()

int test_mimic0 ( void state)

◆ test_name0()

int test_name0 ( void state)

◆ test_priority0()

int test_priority0 ( void state)

◆ test_resist_flag0()

int test_resist_flag0 ( void state)

◆ test_run_msg0()

int test_run_msg0 ( void state)

◆ test_walk_msg0()

int test_walk_msg0 ( void state)

Variable Documentation

◆ suite_name

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

◆ tests

struct test tests[]
Initial value:
= {
{ "name0", test_name0 },
{ "graphics0", test_graphics0 },
{ "mimic0", test_mimic0 },
{ "priority0", test_priority0 },
{ "flags0", test_flags0 },
{ "info0", test_info0 },
{ "walk_msg0", test_walk_msg0 },
{ "run_msg0", test_run_msg0 },
{ "hurt_msg0", test_hurt_msg0 },
{ "die_msg0", test_die_msg0 },
{ "resist_flag0", test_resist_flag0 },
{ NULL, NULL }
}
int test_resist_flag0(void *state)
Definition: f-info.c:130
int test_hurt_msg0(void *state)
Definition: f-info.c:108
int test_flags0(void *state)
Definition: f-info.c:63
int test_walk_msg0(void *state)
Definition: f-info.c:86
int test_mimic0(void *state)
Definition: f-info.c:41
int test_die_msg0(void *state)
Definition: f-info.c:119
int test_info0(void *state)
Definition: f-info.c:74
int test_name0(void *state)
Definition: f-info.c:18
int test_run_msg0(void *state)
Definition: f-info.c:97
int test_graphics0(void *state)
Definition: f-info.c:29
NULL
Definition: list-summon-types.h:18
int test_priority0(void *state)
Definition: f-info.c:52