OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
ScriptTest.h
Go to the documentation of this file.
1 
8 #ifndef _SCRIPT_TEST_H
9 #define _SCRIPT_TEST_H
10 
11 #include "ScriptPayload.h"
12 
13 static const unsigned int testPayloadCount = 4; // 4 gzipped files in data block
14 
15 static const char* testDescription[testPayloadCount] = {
16  "TR2 PC", "TR2 PSX", "TR3 PC", "TR3 PSX"
17 };
18 
19 static const unsigned char* testPayloads[testPayloadCount] = {
21 };
22 
23 static const unsigned int testSizes[testPayloadCount] = {
24  sizeof(tr2_pc_dat_z), sizeof(tr2_psx_dat_z), sizeof(tr3_pc_dat_z), sizeof(tr3_psx_dat_z)
25 };
26 
27 static const unsigned int testExpectedGameStringCount[testPayloadCount] = {
28  89, 89, 92, 92
29 };
30 
31 static const unsigned int testExpectedPlatformStringCount[testPayloadCount] = {
32  41, 80, 41, 80
33 };
34 
35 #endif
36 
static const unsigned char tr3_psx_dat_z[]
Tomb Raider Script Loader Unit Test Payload.
static const unsigned int testSizes[testPayloadCount]
Definition: ScriptTest.h:23
static const unsigned char tr3_pc_dat_z[]
static const unsigned int testExpectedPlatformStringCount[testPayloadCount]
Definition: ScriptTest.h:31
static const char * testDescription[testPayloadCount]
Definition: ScriptTest.h:15
static const unsigned char tr2_pc_dat_z[]
Definition: ScriptPayload.h:16
static const unsigned int testExpectedGameStringCount[testPayloadCount]
Definition: ScriptTest.h:27
static const unsigned char * testPayloads[testPayloadCount]
Definition: ScriptTest.h:19
static const unsigned int testPayloadCount
Definition: ScriptTest.h:13
static const unsigned char tr2_psx_dat_z[]