UFO: Alien Invasion
Loading...
Searching...
No Matches
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"
Include dependency graph for test_routing.cpp:

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() [1/5]

TEST_F ( RoutingTest ,
Dvec  )

Definition at line 297 of file test_routing.cpp.

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

◆ TEST_F() [2/5]

TEST_F ( RoutingTest ,
MapLoading  )

Definition at line 51 of file test_routing.cpp.

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

◆ TEST_F() [3/5]

◆ TEST_F() [4/5]

◆ TEST_F() [5/5]

TEST_F ( RoutingTest ,
TUsForDir  )

Definition at line 311 of file test_routing.cpp.

References Grid_GetTUsForDirection().

Variable Documentation

◆ mapData

◆ mapName

◆ mapTiles