Angband
Functions | Variables
flavor.c File Reference
#include "unit-test.h"
#include "init.h"
#include "obj-tval.h"
#include "obj-properties.h"
#include "object.h"
#include "z-color.h"

Functions

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

Variables

const char * suite_name = "parse/flavor"
 
struct test tests []
 

Function Documentation

◆ setup_tests()

int setup_tests ( void **  state)

References init_parse_flavor().

◆ teardown_tests()

int teardown_tests ( void state)

◆ test_flavor0()

int test_flavor0 ( void state)

◆ test_kind0()

int test_kind0 ( void state)

References eq, ok, and parser_parse().

Variable Documentation

◆ suite_name

const char* suite_name = "parse/flavor"

◆ tests

struct test tests[]
Initial value:
= {
{ "kind0", test_kind0 },
{ "flavor0", test_flavor0 },
{ NULL, NULL }
}
int test_flavor0(void *state)
Definition: flavor.c:31
int test_kind0(void *state)
Definition: flavor.c:24
NULL
Definition: list-summon-types.h:18