Advanced Strategic Command
unittestutil.cpp File Reference
#include "../actions/moveunitcommand.h"
#include "../actions/attackcommand.h"
#include "../loaders.h"
#include "../viewcalculation.h"
#include "../turncontrol.h"
#include "unittestutil.h"
Include dependency graph for unittestutil.cpp:

Go to the source code of this file.


void move (Vehicle *veh, const MapCoordinate &dest)
void move (Vehicle *veh, const MapCoordinate3D &dest)
void attack (Vehicle *veh, const MapCoordinate &target)
GameMapstartMap (const ASCString &filename)
Context createTestingContext (GameMap *gamemap)
void testCargoMovement (Vehicle *veh, int movement)
void testCargoMovementMax (Vehicle *veh, int movement)
VehiclegetFirstCargo (ContainerBase *carrier)

Function Documentation

void attack ( Vehicle veh,
const MapCoordinate target 
Context createTestingContext ( GameMap gamemap)
Vehicle* getFirstCargo ( ContainerBase carrier)

Definition at line 112 of file unittestutil.cpp.

References ContainerBase::getCargo().

Referenced by testRecycling(), and testTransferControl().

void move ( Vehicle veh,
const MapCoordinate dest 
void move ( Vehicle veh,
const MapCoordinate3D dest 
GameMap* startMap ( const ASCString filename)
void testCargoMovement ( Vehicle veh,
int  movement 
void testCargoMovementMax ( Vehicle veh,
int  movement