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

Functions

int setup_tests (void **state)
int test_0 (void *state)

Variables

static NOTEARDOWN struct
history_chart 
ca
static struct history_chart cb
static struct history_chart cc
static struct history_entry ea0
static struct history_entry ea1
static struct history_entry eb0
static struct history_entry eb1
static struct history_entry ec0
static struct history_entry ec1
const char * suite_name = "player/history"
struct test tests []

Function Documentation

int setup_tests ( void **  state)
int test_0 ( void state)

References ca, eq, get_history(), h, i, ok, require, and string_free().

Variable Documentation

NOTEARDOWN struct history_chart ca
static

Referenced by setup_tests(), and test_0().

struct history_chart cb
static

Referenced by setup_tests().

struct history_chart cc
static

Referenced by setup_tests(), and Term_fresh().

struct history_entry ea0
static

Referenced by setup_tests().

struct history_entry ea1
static

Referenced by setup_tests().

struct history_entry eb0
static

Referenced by setup_tests().

struct history_entry eb1
static

Referenced by setup_tests().

struct history_entry ec0
static

Referenced by setup_tests().

struct history_entry ec1
static

Referenced by setup_tests().

const char* suite_name = "player/history"
struct test tests[]
Initial value:
{
{ "0", test_0 },
{ NULL, NULL },
}