Angband
Functions | Variables
expression.c File Reference
#include "unit-test.h"
#include "z-expression.h"

Functions

NOSETUP NOTEARDOWN int test_alloc (void *state)
int test_parse_success (void *state)
int test_parse_failure (void *state)
static s32b base_value_2 (void)
int test_evaluate (void *state)

Variables

const char * suite_name = "z-expression/expression"
struct test tests []

Function Documentation

static s32b base_value_2 ( void  )
static

Referenced by test_evaluate().

NOSETUP NOTEARDOWN int test_alloc ( void state)
int test_evaluate ( void state)
int test_parse_failure ( void state)
int test_parse_success ( void state)

Variable Documentation

const char* suite_name = "z-expression/expression"
struct test tests[]
Initial value:
{
{ "alloc", test_alloc },
{ "parse-success", test_parse_success },
{ "parse-failure", test_parse_failure },
{ "evaluate", test_evaluate },
{ NULL, NULL },
}