-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
22 lines (21 loc) · 783 Bytes
/
main.cpp
File metadata and controls
22 lines (21 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>
#include <vector>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "Game.h"
int main(int argc, char* argv[])
{
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
/*CHumanArmyFactory* ArmyFactory = new CHumanArmyFactory;
Army* MyArmy = new Army();
MyArmy -> add_unit(ArmyFactory -> create_warrior());
MyArmy -> add_unit(ArmyFactory -> create_warrior());
MyArmy -> add_unit(ArmyFactory -> create_agent());
MyArmy -> add_unit(ArmyFactory -> create_agent());
MyArmy -> add_unit(ArmyFactory -> create_dragon());
MyArmy -> add_unit(ArmyFactory -> create_dragon());
MyArmy -> add_unit(ArmyFactory -> create_wizard());
MyArmy -> add_unit(ArmyFactory -> create_wizard());
MyArmy -> show_army();*/
}