forked from Danielbet21/Amusement_Park
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestsDaniel.h
49 lines (38 loc) · 987 Bytes
/
TestsDaniel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef __TESTS_DANIEL__
#define __TESTS_DANIEL__
#include <crtdbg.h> // TODO: remove before release
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "Person.h"
#include "Worker.h"
#include "Guest.h"
#include "Facility.h"
#include "TicketMaster.h"
#include "LunaPark.h"
void runAllTestsDaniel();
void runPersonTests();
void testComparePersonByHeight();
void testInitPerson();
void runWorkerTests();
void initWorkerTest();
void runFacilityTests();
void testInitFacility();
void testCompareFacilities();
void runGuestTests();
void initGuestTests();
void runLunaParkTests();
void addWorkerToLunaParkTest();
void addGuestToLunaParkTest();
//------File Test---------
void runAllSaveAndLoadTests();
void FacilitySaveAndLoadText();
void FacilitySaveAndLoadBin();
void PersonSaveAndLoadText();
void PersonSaveAndLoadBin();
void WorkerSaveAndLoadText();
void WorkerSaveAndLoadBin();
void GuestSaveAndLoadText();
void GuestSaveAndLoadBin();
#endif