Crossfire Server, Trunk
|
#include <stdlib.h>
#include <global.h>
#include <check.h>
#include <loader.h>
#include <toolkit_common.h>
#include <sproto.h>
Go to the source code of this file.
Functions | |
int | main (void) |
END_TEST Suite * | player_suite (void) |
void | setup (void) |
START_TEST (test_get_nearest_player) | |
void | teardown (void) |
int main | ( | void | ) |
Definition at line 84 of file check_player.cpp.
References player_suite().
END_TEST Suite* player_suite | ( | void | ) |
Definition at line 70 of file check_player.cpp.
References setup(), and teardown().
void setup | ( | void | ) |
Definition at line 24 of file check_player.cpp.
References cctk_setdatadir(), Settings::debug, init(), llevError, and settings.
START_TEST | ( | test_get_nearest_player | ) |
Definition at line 34 of file check_player.cpp.
References add_friendly_object(), create_archetype(), FAIL_UNLESS, first_player, FLAG_FRIENDLY, FLAG_MONSTER, get_empty_map(), get_nearest_player(), disinfect::map, guildjoin::ob, object_insert_in_map_at(), altar_valkyrie::pl, QUERY_FLAG, and SET_FLAG.
void teardown | ( | void | ) |
Definition at line 30 of file check_player.cpp.