Angband
Functions | Variables
playerstat.c File Reference
#include "unit-test.h"
#include "unit-test-data.h"
#include "player-birth.h"
#include "player.h"

Functions

int setup_tests (void **state)
 
int teardown_tests (void *state)
 
int test_stat_inc (void *state)
 
int test_stat_dec (void *state)
 

Variables

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

Function Documentation

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

References mem_free(), and z_info.

int test_stat_dec ( void state)
int test_stat_inc ( void state)

Variable Documentation

const char* suite_name = "player/player"
struct test tests[]
Initial value:
= {
{ "stat-inc", test_stat_inc },
{ "stat-dec", test_stat_dec },
{ NULL, NULL }
}
int test_stat_dec(void *state)
Definition: playerstat.c:44
int test_stat_inc(void *state)
Definition: playerstat.c:25
NULL
Definition: list-summon-types.h:18