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 136 of file check_monster.cpp.
References cctk_setdatadir(), init(), and monster_suite().
END_TEST Suite* monster_suite | ( | void | ) |
Definition at line 123 of file check_monster.cpp.
References setup(), and teardown().
void setup | ( | void | ) |
Definition at line 40 of file check_monster.cpp.
START_TEST | ( | test_monster_find_nearest_enemy | ) |
Definition at line 46 of file check_monster.cpp.
References object::contr, object::count, create_archetype(), FAIL_IF, FAIL_UNLESS, FLAG_MONSTER, is_valid_types_gen::found, get_empty_map(), disinfect::map, monster_find_nearest_enemy(), object_insert_in_map_at(), object::owner, object::ownercount, pet_sad, altar_valkyrie::pl, and QUERY_FLAG.
void teardown | ( | void | ) |
Definition at line 43 of file check_monster.cpp.