Crossfire Server, Branches 1.12
R18729
|
#include <global.h>
#include <stdlib.h>
#include <check.h>
#include <loader.h>
#include <toolkit_common.h>
#include <sproto.h>
Go to the source code of this file.
Functions | |
END_TEST Suite * | attack_suite (void) |
int | main (void) |
void | setup (void) |
START_TEST (test_hit_player) | |
void | teardown (void) |
END_TEST Suite* attack_suite | ( | void | ) |
Definition at line 100 of file check_attack.c.
References setup(), and teardown().
Referenced by main().
int main | ( | void | ) |
Definition at line 113 of file check_attack.c.
References attack_suite(), Settings::debug, init(), and settings.
void setup | ( | void | ) |
Definition at line 40 of file check_attack.c.
Referenced by attack_suite().
START_TEST | ( | test_hit_player | ) |
Definition at line 47 of file check_attack.c.
References add_string(), ARCH_DEPLETION, AT_DEPLETE, AT_FIRE, ATNR_DEPLETE, ATNR_FIRE, obj::attacktype, create_archetype(), liv::dam, find_archetype(), get_empty_map(), hit_player(), liv::hp, insert_ob_in_map_at(), obj::inv, obj::map, liv::maxhp, present_arch_in_ob(), obj::race, obj::resist, obj::slaying, and obj::stats.
void teardown | ( | void | ) |
Definition at line 43 of file check_attack.c.
Referenced by attack_suite().