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 | |
static END_TEST Suite * | bug_suite (void) |
int | main (void) |
static void | setup (void) |
START_TEST (test_apply) | |
static void | teardown (void) |
Unit test for bug https://sourceforge.net/p/crossfire/bugs/883/ Monsters will not apply weapons in their inventory
Definition in file check_883.cpp.
|
static |
Definition at line 57 of file check_883.cpp.
References setup(), and teardown().
Referenced by main().
int main | ( | void | ) |
Definition at line 70 of file check_883.cpp.
References bug_suite(), cctk_setdatadir(), and init().
|
static |
Definition at line 35 of file check_883.cpp.
Referenced by bug_suite().
START_TEST | ( | test_apply | ) |
Definition at line 41 of file check_883.cpp.
References create_archetype(), FAIL_UNLESS, FLAG_APPLIED, monster_check_apply_all(), object_insert_in_ob(), and QUERY_FLAG.
|
static |
Definition at line 38 of file check_883.cpp.
Referenced by bug_suite().