UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
test_routing.cpp File Reference
#include "test_shared.h"
#include "../common/common.h"
#include "../common/cmodel.h"
#include "../common/grid.h"
#include "../game/g_local.h"
#include "../game/g_edicts.h"
#include "../game/g_utils.h"
#include "../server/server.h"

Go to the source code of this file.

Data Structures

class  RoutingTest
 

Functions

 TEST_F (RoutingTest, MapLoading)
 
 TEST_F (RoutingTest, Move)
 
 TEST_F (RoutingTest, MoveEntities)
 
 TEST_F (RoutingTest, Dvec)
 
 TEST_F (RoutingTest, TUsForDir)
 

Variables

static mapData_t mapData
 
static mapTiles_t mapTiles
 
static const char * mapName = "test_routing"
 

Function Documentation

TEST_F ( RoutingTest  ,
MapLoading   
)

Definition at line 51 of file test_routing.cpp.

References CM_LoadMap(), FS_CheckFile(), mapName, and MAX_TOKEN_CHARS.

TEST_F ( RoutingTest  ,
Dvec   
)

Definition at line 297 of file test_routing.cpp.

References getDVdir, getDVflags, getDVz, makeDV, and setDVz.

TEST_F ( RoutingTest  ,
TUsForDir   
)

Definition at line 311 of file test_routing.cpp.

References Grid_GetTUsForDirection().

Variable Documentation

mapData_t mapData
static

Definition at line 47 of file test_routing.cpp.

const char* mapName = "test_routing"
static

Definition at line 49 of file test_routing.cpp.

Referenced by CL_BattlescapeRadarGenerate_f(), SV_CompleteMapCommand(), and TEST_F().