-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPSE_Test_overzicht
More file actions
34 lines (24 loc) · 959 Bytes
/
PSE_Test_overzicht
File metadata and controls
34 lines (24 loc) · 959 Bytes
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
#InputTest::
Check of file bestaat,
Clean systeem,
Parse bestand,
if (check consistency == true) SuccessEnum endResult = Succes
else SuccessEnum endResult = PartialImport
endResult zegt of import gelukt is, import hangt af van correctheid inputbestand en systeem.
Herhaal zo meerdere tests:
Juiste invoer
Foute invoer
Fouten tegen XML
DomainTest::
Kijk properly initialized elke klasse.
Toevoegen van objecten en check consistency, check attributen correct.
Juiste objecten en foute. Dus stations met/zonder volgende/vorige. Sporen (Stations) die niet lopen.
Verplaatsen van Tram, opstappen, capaciteit personen op tram.
Contract violations (EXPECT_DEATH), zie TicTacToeDomainTests.cpp ContractViolations
OutputTest::
Test the compare files.
Initialize systeem, creeer output file, vergelijk met verwachte output.
Doe dit voor juiste systemen.
Verkeerde systemen.
Verschillende systemen.
Test de verschillende output formaten