Angband
Functions | Variables
object/util.c File Reference
#include "unit-test.h"
#include "unit-test-data.h"
#include "object.h"
#include "obj-make.h"
#include "obj-pile.h"
#include "obj-util.h"

Functions

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

Variables

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

Function Documentation

◆ setup_tests()

int setup_tests ( void **  state)

◆ teardown_tests()

int teardown_tests ( void **  state)

References k_info, mem_free(), and z_info.

Referenced by main().

◆ test_obj_can_refill()

int test_obj_can_refill ( void state)

Variable Documentation

◆ suite_name

const char* suite_name = "object/util"

◆ tests

struct test tests[]
Initial value:
= {
{ "obj_can_refill", test_obj_can_refill },
{ NULL, NULL }
}
int test_obj_can_refill(void *state)
Definition: object/util.c:28
NULL
Definition: list-summon-types.h:18