Crossfire Server, Trunk  R20513
Functions
check_weight_reduction.c File Reference

Makes sure that weight reduction in containers correctly updates 'carrying'. More...

#include <check.h>
#include <global.h>
#include <sproto.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for check_weight_reduction.c:

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)
 

Detailed Description

Makes sure that weight reduction in containers correctly updates 'carrying'.

Definition in file check_weight_reduction.c.

Function Documentation

static END_TEST Suite* bug_suite ( void  )
static

Definition at line 96 of file check_weight_reduction.c.

References setup(), and teardown().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( void  )

Definition at line 109 of file check_weight_reduction.c.

References bug_suite(), and init().

Here is the call graph for this function:

static void setup ( void  )
static

Definition at line 34 of file check_weight_reduction.c.

Referenced by bug_suite().

Here is the caller graph for this function:

START_TEST ( test_weight_reduction  )
static void teardown ( void  )
static

Definition at line 37 of file check_weight_reduction.c.

Referenced by bug_suite().

Here is the caller graph for this function: