Angband
|
Functions | |
NOSETUP NOTEARDOWN int | test_alloc (void *state) |
int | test_parse_success (void *state) |
int | test_parse_failure (void *state) |
s32b | test_evaluate_base (void) |
int | test_evaluate (void *state) |
Variables | |
const char * | suite_name = "z-dice/dice" |
struct test | tests [] |
NOSETUP NOTEARDOWN int test_alloc | ( | void * | state | ) |
References dice_free(), dice_new(), NULL, ok, and require.
References random::base, random::dice, dice_bind_expression(), dice_evaluate(), dice_free(), dice_new(), dice_parse_string(), dice_roll(), expression_add_operations_string(), expression_free(), expression_new(), expression_set_base_value(), random::m_bonus, MAXIMISE, ok, require, random::sides, test_evaluate_base(), and value.
Referenced by test_evaluate().
References dice_free(), dice_new(), dice_parse_string(), ok, and require.
References dice_free(), dice_new(), dice_parse_string(), dice_test_values(), dice_test_variables(), NULL, ok, and require.
const char* suite_name = "z-dice/dice" |
struct test tests[] |