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

#define NAMES_TRIES   100

Referenced by test_names().

Function Documentation

int setup_tests ( void **  state)

Referenced by main().

int teardown_tests ( void **  state)

Referenced by main().

int test_names ( void state)

Variable Documentation

const char* names[]
Initial value:
{
"aaaaaa",
"bbbbbb",
"cccccc",
"dddddd",
"eeeeee",
"ffffff",
"gggggg",
"hhhhhh",
"iiiiii",
"jjjjjj",
NULL
}

Referenced by describe_digger().

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

Referenced by ac_power(), add_activation(), calc_spells(), cleanup_p_race(), display_player(), display_player_xtra_info(), do_cmd_change_name(), do_cmd_save_screen_text(), do_cmd_study_book(), effects_power(), element_power(), extra_blows_power(), extra_might_power(), extra_shots_power(), find_roman_suffix_start(), flags_power(), get_mon_num(), get_panel_combat(), get_panel_midleft(), get_panel_misc(), get_panel_skills(), get_panel_topleft(), init_graphics_modes(), init_obj_make(), init_parse_act(), init_parse_artifact(), init_parse_body(), init_parse_class(), init_parse_constants(), init_parse_ego(), init_parse_feat(), init_parse_flavor(), init_parse_grafmode(), init_parse_hints(), init_parse_history(), init_parse_lore(), init_parse_mon_base(), init_parse_mon_spell(), init_parse_monster(), init_parse_names(), init_parse_object(), init_parse_object_base(), init_parse_p_race(), init_parse_pain(), init_parse_pit(), init_parse_prefs(), init_parse_profile(), init_parse_quest(), init_parse_room(), init_parse_stores(), init_parse_trap(), init_parse_v(), init_race_allocs(), jewelry_power(), launcher_ammo_damage_power(), loc(), make_attack_normal(), mem_realloc(), modifier_power(), object_power(), panel_allocate(), parser_new(), process_pref_file_command(), process_pref_file_expr(), process_pref_file_layered(), prt_title(), rescale_bow_power(), roman_to_int(), see_floor_items(), set_add(), set_insert(), setup_tests(), slay_power(), spell_learn(), test_blows(), test_effects(), test_generate0(), test_names(), test_stat_dec(), test_stat_inc(), textui_cmd_rest(), textui_get_aim_dir(), to_ac_power(), to_damage_power(), to_hit_power(), wiz_tweak_item(), and write_character_dump().

const char* suite_name = "artifact/name"

Referenced by main().

struct test tests[]
Initial value:
{
{ "names", test_names },
{ NULL, NULL }
}

Referenced by main().