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

◆ setup_tests()

int setup_tests ( void **  state)

◆ test_0()

int test_0 ( void state)

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

Variable Documentation

◆ ca

NOTEARDOWN struct history_chart ca
static

Referenced by setup_tests(), and test_0().

◆ cb

struct history_chart cb
static

Referenced by setup_tests().

◆ cc

struct history_chart cc
static

Referenced by setup_tests(), and Term_fresh().

◆ ea0

struct history_entry ea0
static

Referenced by setup_tests().

◆ ea1

struct history_entry ea1
static

Referenced by setup_tests().

◆ eb0

struct history_entry eb0
static

Referenced by setup_tests().

◆ eb1

struct history_entry eb1
static

Referenced by setup_tests().

◆ ec0

struct history_entry ec0
static

Referenced by setup_tests().

◆ ec1

struct history_entry ec1
static

Referenced by setup_tests().

◆ suite_name

const char* suite_name = "player/history"

◆ tests

struct test tests[]
Initial value:
= {
{ "0", test_0 },
{ NULL, NULL },
}
int test_0(void *state)
Definition: history.c:58
NULL
Definition: list-summon-types.h:18