OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Variables
ScriptTest.h File Reference

Tomb Raider Script Loader Unit Test Header. More...

#include "ScriptPayload.h"
Include dependency graph for ScriptTest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static const unsigned int testPayloadCount = 4
 
static const char * testDescription [testPayloadCount]
 
static const unsigned char * testPayloads [testPayloadCount]
 
static const unsigned int testSizes [testPayloadCount]
 
static const unsigned int testExpectedGameStringCount [testPayloadCount]
 
static const unsigned int testExpectedPlatformStringCount [testPayloadCount]
 

Detailed Description

Tomb Raider Script Loader Unit Test Header.

Author
xythobuz

Definition in file ScriptTest.h.

Variable Documentation

const unsigned int testPayloadCount = 4
static

Definition at line 13 of file ScriptTest.h.

const char* testDescription[testPayloadCount]
static
Initial value:
= {
"TR2 PC", "TR2 PSX", "TR3 PC", "TR3 PSX"
}

Definition at line 15 of file ScriptTest.h.

const unsigned char* testPayloads[testPayloadCount]
static
Initial value:
= {
}
static const unsigned char tr3_psx_dat_z[]
static const unsigned char tr3_pc_dat_z[]
static const unsigned char tr2_pc_dat_z[]
Definition: ScriptPayload.h:16
static const unsigned char tr2_psx_dat_z[]

Definition at line 19 of file ScriptTest.h.

const unsigned int testSizes[testPayloadCount]
static
Initial value:
= {
sizeof(tr2_pc_dat_z), sizeof(tr2_psx_dat_z), sizeof(tr3_pc_dat_z), sizeof(tr3_psx_dat_z)
}
static const unsigned char tr3_psx_dat_z[]
static const unsigned char tr3_pc_dat_z[]
static const unsigned char tr2_pc_dat_z[]
Definition: ScriptPayload.h:16
static const unsigned char tr2_psx_dat_z[]

Definition at line 23 of file ScriptTest.h.

const unsigned int testExpectedGameStringCount[testPayloadCount]
static
Initial value:
= {
89, 89, 92, 92
}

Definition at line 27 of file ScriptTest.h.

const unsigned int testExpectedPlatformStringCount[testPayloadCount]
static
Initial value:
= {
41, 80, 41, 80
}

Definition at line 31 of file ScriptTest.h.