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

Functions

int setup_tests (void **state)
 
int teardown_tests (void *state)
 
int test_name0 (void *state)
 
int test_graphics0 (void *state)
 
int test_graphics1 (void *state)
 
int test_type0 (void *state)
 
int test_level0 (void *state)
 
int test_weight0 (void *state)
 
int test_cost0 (void *state)
 
int test_alloc0 (void *state)
 
int test_attack0 (void *state)
 
int test_armor0 (void *state)
 
int test_charges0 (void *state)
 
int test_pile0 (void *state)
 
int test_flags0 (void *state)
 
int test_pval0 (void *state)
 
int test_time0 (void *state)
 
int test_desc0 (void *state)
 

Variables

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

Function Documentation

◆ setup_tests()

int setup_tests ( void **  state)

References init_parse_object().

◆ teardown_tests()

int teardown_tests ( void state)

◆ test_alloc0()

int test_alloc0 ( void state)

◆ test_armor0()

int test_armor0 ( void state)

◆ test_attack0()

int test_attack0 ( void state)

◆ test_charges0()

int test_charges0 ( void state)

◆ test_cost0()

int test_cost0 ( void state)

◆ test_desc0()

int test_desc0 ( void state)

◆ test_flags0()

int test_flags0 ( void state)

◆ test_graphics0()

int test_graphics0 ( void state)

◆ test_graphics1()

int test_graphics1 ( void state)

◆ test_level0()

int test_level0 ( void state)

◆ test_name0()

int test_name0 ( void state)

◆ test_pile0()

int test_pile0 ( void state)

◆ test_pval0()

int test_pval0 ( void state)

◆ test_time0()

int test_time0 ( void state)

◆ test_type0()

int test_type0 ( void state)

◆ test_weight0()

int test_weight0 ( void state)

Variable Documentation

◆ suite_name

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

◆ tests

struct test tests[]
Initial value:
= {
{ "name0", test_name0 },
{ "graphics0", test_graphics0 },
{ "graphics1", test_graphics1 },
{ "level0", test_level0 },
{ "weight0", test_weight0 },
{ "cost0", test_cost0 },
{ "alloc0", test_alloc0 },
{ "attack0", test_attack0 },
{ "armor0", test_armor0 },
{ "charges0", test_charges0 },
{ "pile0", test_pile0 },
{ "flags0", test_flags0 },
{ "time0", test_time0 },
{ "desc0", test_desc0 },
{ "pval0", test_pval0 },
{ NULL, NULL }
}
int test_name0(void *state)
Definition: k-info.c:24
int test_flags0(void *state)
Definition: k-info.c:170
int test_pile0(void *state)
Definition: k-info.c:157
int test_level0(void *state)
Definition: k-info.c:70
int test_graphics0(void *state)
Definition: k-info.c:35
int test_alloc0(void *state)
Definition: k-info.c:103
int test_weight0(void *state)
Definition: k-info.c:81
int test_graphics1(void *state)
Definition: k-info.c:47
int test_desc0(void *state)
Definition: k-info.c:212
int test_cost0(void *state)
Definition: k-info.c:92
int test_pval0(void *state)
Definition: k-info.c:186
int test_time0(void *state)
Definition: k-info.c:200
int test_charges0(void *state)
Definition: k-info.c:145
int test_armor0(void *state)
Definition: k-info.c:132
int test_attack0(void *state)
Definition: k-info.c:116