Crossfire Server, Trunk
|
#include <check.h>
#include <global.h>
#include <sproto.h>
#include <stdlib.h>
#include <string.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_weight_reduction) | |
static void | teardown (void) |
Makes sure that weight reduction in containers correctly updates 'carrying'.
Definition in file check_weight_reduction.cpp.
|
static |
Definition at line 97 of file check_weight_reduction.cpp.
References setup(), and teardown().
Referenced by main().
int main | ( | void | ) |
Definition at line 110 of file check_weight_reduction.cpp.
References bug_suite(), cctk_setdatadir(), and init().
|
static |
Definition at line 35 of file check_weight_reduction.cpp.
Referenced by bug_suite().
START_TEST | ( | test_weight_reduction | ) |
Definition at line 41 of file check_weight_reduction.cpp.
References disinfect::a, object::carrying, CONTAINER, create_archetype(), FAIL_UNLESS, say::item, object_decrease_nrof(), object_free(), object_insert_in_ob(), object_remove(), object::stats, living::Str, and object::type.
|
static |
Definition at line 38 of file check_weight_reduction.cpp.
Referenced by bug_suite().