test_routing.c File Reference

#include "CUnit/Basic.h"
#include "test_routing.h"
#include "test_shared.h"
#include "../common/common.h"
#include "../common/cmodel.h"
Include dependency graph for test_routing.c:

Go to the source code of this file.

Functions

static int UFO_InitSuiteRouting (void)
static int UFO_CleanSuiteRouting (void)
static void testConnection (void)
int UFO_AddRoutingTests (void)

Variables

static mapData_t mapData
static mapTiles_t mapTiles

Detailed Description

Definition in file test_routing.c.


Function Documentation

static void testConnection ( void   )  [static]

Todo:
use a special testmap
Todo:
implement the test

Definition at line 55 of file test_routing.c.

References CM_LoadMap(), and qtrue.

Referenced by UFO_AddRoutingTests().

int UFO_AddRoutingTests ( void   ) 

Definition at line 65 of file test_routing.c.

References testConnection(), UFO_CleanSuiteRouting(), and UFO_InitSuiteRouting().

static int UFO_CleanSuiteRouting ( void   )  [static]

The suite cleanup function. Returns zero on success, non-zero otherwise.

Definition at line 46 of file test_routing.c.

References TEST_Shutdown().

Referenced by UFO_AddRoutingTests().

static int UFO_InitSuiteRouting ( void   )  [static]

The suite initialization function. Returns zero on success, non-zero otherwise.

Definition at line 36 of file test_routing.c.

References TEST_Init().

Referenced by UFO_AddRoutingTests().


Variable Documentation

mapData_t mapData [static]

Definition at line 52 of file test_routing.c.

mapTiles_t mapTiles [static]

Generated by  doxygen 1.6.2