Crossfire Server, Trunk
|
#include <stdlib.h>
#include <check.h>
#include <global.h>
#include <sproto.h>
#include <toolkit_common.h>
Go to the source code of this file.
Functions | |
int | main (void) |
END_TEST Suite * | monster_suite (void) |
void | setup (void) |
START_TEST (test_monster_find_nearest_enemy) | |
void | teardown (void) |
int main | ( | void | ) |
Definition at line 133 of file check_monster.c.
References cctk_setdatadir(), init(), and monster_suite().
END_TEST Suite* monster_suite | ( | void | ) |
Definition at line 120 of file check_monster.c.
References setup(), and teardown().
void setup | ( | void | ) |
Definition at line 40 of file check_monster.c.
START_TEST | ( | test_monster_find_nearest_enemy | ) |
Definition at line 46 of file check_monster.c.
References obj::contr, obj::count, create_archetype(), FLAG_MONSTER, is_valid_types_gen::found, get_empty_map(), disinfect::map, monster_find_nearest_enemy(), object_insert_in_map_at(), obj::owner, obj::ownercount, pet_sad, pl::petmode, altar_valkyrie::pl, and QUERY_FLAG.
void teardown | ( | void | ) |
Definition at line 43 of file check_monster.c.