Angband
Macros | Functions | Variables
name.c File Reference
#include "unit-test.h"
#include "unit-test-data.h"
#include "obj-properties.h"
#include "obj-randart.h"
#include "obj-tval.h"
#include "object.h"

Macros

#define NAMES_TRIES   100
 

Functions

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

Variables

const char * names []
 
const char ** p [] = { names, names }
 
const char * suite_name = "artifact/name"
 
struct test tests []
 

Macro Definition Documentation

◆ NAMES_TRIES

#define NAMES_TRIES   100

Referenced by test_names().

Function Documentation

◆ setup_tests()

int setup_tests ( void **  state)

◆ teardown_tests()

int teardown_tests ( void **  state)

◆ test_names()

int test_names ( void state)

Variable Documentation

◆ names

const char* names[]
Initial value:
= {
"aaaaaa",
"bbbbbb",
"cccccc",
"dddddd",
"eeeeee",
"ffffff",
"gggggg",
"hhhhhh",
"iiiiii",
"jjjjjj",
}
NULL
Definition: list-summon-types.h:18

Referenced by describe_digger().

◆ p

const char** p[] = { names, names }

Referenced by add_activation(), cleanup_p_race(), cleanup_realm(), display_player(), display_player_xtra_info(), do_cmd_change_name(), do_cmd_study_book(), find_roman_suffix_start(), get_mon_num(), get_panel_combat(), get_panel_midleft(), get_panel_misc(), get_panel_skills(), get_panel_topleft(), init_graphics_modes(), init_parse_act(), init_parse_artifact(), init_parse_body(), init_parse_brand(), init_parse_class(), init_parse_constants(), init_parse_curse(), init_parse_eff(), init_parse_ego(), init_parse_feat(), init_parse_flavor(), init_parse_grafmode(), init_parse_hints(), init_parse_history(), init_parse_lore(), init_parse_meth(), init_parse_mon_base(), init_parse_mon_spell(), init_parse_monster(), init_parse_names(), init_parse_object(), init_parse_object_base(), init_parse_object_power(), init_parse_object_property(), init_parse_p_race(), init_parse_pain(), init_parse_pit(), init_parse_player_timed(), init_parse_prefs(), init_parse_profile(), init_parse_projection(), init_parse_quest(), init_parse_realm(), init_parse_room(), init_parse_slay(), init_parse_stores(), init_parse_trap(), init_parse_vault(), init_parse_world(), init_race_allocs(), loc(), make_attack_normal(), mem_realloc(), panel_allocate(), parser_new(), process_pref_file_command(), process_pref_file_expr(), process_pref_file_named(), prt_title(), roman_to_int(), run_parser(), see_floor_items(), set_add(), set_insert(), setup_tests(), teardown_tests(), test_blows(), test_effects(), test_generate0(), test_names(), test_stat_dec(), test_stat_inc(), textui_cmd_rest(), textui_get_aim_dir(), wiz_tweak_item(), and write_character_dump().

◆ suite_name

const char* suite_name = "artifact/name"

◆ tests

struct test tests[]
Initial value:
= {
{ "names", test_names },
{ NULL, NULL }
}
int test_names(void *state)
Definition: name.c:42
NULL
Definition: list-summon-types.h:18