-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.h
51 lines (38 loc) · 1.49 KB
/
test.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
50
51
#pragma once
#include <deque>
void doVolunteerJobs();
int doGraph();
unsigned roll(unsigned max);
void testFiniteStateMachine();
void testIslandExplorer();
void testIslandExplorerNoRecurse();
void testCycleChecker();
void testTasker();
void testWheelCount();
void testSegmentString();
void testCoinChange();
#include "SimpleZoneQueueManager.h"
void utilMakeZoneQueues(std::shared_ptr<SimpleZoneQueueManager>& zoneQueueMgr);
void utilAddPlayersToAllZones(std::shared_ptr<SimpleZoneQueueManager>& zoneQueueMgr, std::deque<const PlayerDataPtr>& players);
void testPriceDivergenceMonitor();
void testPriceDivergenceMonitorRegisterPair();
void testPriceDivergenceMonitorUpdatePrice();
void testPriceDivergenceMonitorReportDivergence();
void testSimpleZoneQueueManager();
void testPlayerClassEnum();
void testInitialZones();
void testAddPlayersToZoneQueues();
void testRemovingPlayerFromZone();
void testNinjaZones();
void testCompleteZone();
void testReadyZones();
std::deque<PlayerDataPtr> InitRandomPlayerData(int numPlayers);
PlayerDataPtr MakePlayerData(std::string name, PlayerIdType playerID, PlayerClassEnum clazz, unsigned int level);
std::shared_ptr<PlayerData> RandomPlayer();
void dumpPlayerData();
void CheckZoneData(const ZoneQueuePtr& zone);
std::deque<PlayerDataPtr> InitPlayerData();
void DisplayPlayerData(const std::deque<PlayerDataPtr>& players);
std::shared_ptr<PlayerData> RandomPlayer();
std::deque<PlayerDataPtr> InitRandomPlayerData(int numPlayers);
std::deque<PlayerDataPtr> InitPlayerData();