Advanced Strategic Command
Functions
movementtest.cpp File Reference
#include <iostream>
#include "../actions/moveunitcommand.h"
#include "../loaders.h"
#include "../itemrepository.h"
#include "unittestutil.h"
#include "../tasks/taskcontainer.h"
Include dependency graph for movementtest.cpp:

Go to the source code of this file.

Functions

void testMovement1 ()
 
void testMovementRF ()
 
void testMovementTracks ()
 
void testHeightChangeAI ()
 
void testHeightChangeGUI ()
 
void testMovementFieldsReachable ()
 
static void runTasks (GameMap *gamemap)
 
static void moveUnitTest (GameMap *game, Vehicle *veh, const MapCoordinate &destination, int turns)
 
void testLongDistMovement ()
 
void testMapResizeWithMovement ()
 
void testPathFinding ()
 
void testPathFinding2 ()
 
void testMovement ()
 

Function Documentation

static void moveUnitTest ( GameMap game,
Vehicle veh,
const MapCoordinate destination,
int  turns 
)
static
static void runTasks ( GameMap gamemap)
static
void testHeightChangeAI ( )
void testHeightChangeGUI ( )
void testLongDistMovement ( )

Definition at line 220 of file movementtest.cpp.

References moveUnitTest(), and startMap().

Referenced by testMovement().

void testMapResizeWithMovement ( )
void testMovement ( )
void testMovement1 ( )
void testMovementFieldsReachable ( )
void testMovementRF ( )

Definition at line 52 of file movementtest.cpp.

References assertOrThrow, ContainerBase::damage, move(), and startMap().

Referenced by testMovement().

void testMovementTracks ( )

Definition at line 68 of file movementtest.cpp.

References assertOrThrow, createTestingContext(), move(), objectTypeRepository, and startMap().

Referenced by testMovement().

void testPathFinding ( )
void testPathFinding2 ( )