Crossfire Server, Trunk  R20513
Functions
check_2879249.c File Reference

This is the unit tests file for the bug #2879249: SIGSEGV on transport moving across some edges of tiled maps. More...

#include <stdlib.h>
#include <check.h>
#include <global.h>
#include <sproto.h>
Include dependency graph for check_2879249.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_insert)
 
static void teardown (void)
 

Detailed Description

This is the unit tests file for the bug #2879249: SIGSEGV on transport moving across some edges of tiled maps.

Definition in file check_2879249.c.

Function Documentation

static END_TEST Suite* bug_suite ( void  )
static

Definition at line 64 of file check_2879249.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 77 of file check_2879249.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_2879249.c.

Referenced by bug_suite().

Here is the caller graph for this function:

START_TEST ( test_insert  )

Definition at line 40 of file check_2879249.c.

References obj::arch, archt::clone, find_archetype(), mapdef::height, obj::map, obj::more, object_create_arch(), object_insert_in_map_at(), ready_map_name(), mapdef::width, and obj::x.

Here is the call graph for this function:

static void teardown ( void  )
static

Definition at line 37 of file check_2879249.c.

Referenced by bug_suite().

Here is the caller graph for this function: