1 #ifndef TEST_BATTLE_BATTLETEST_H_
2 #define TEST_BATTLE_BATTLETEST_H_
9 #include "../../src/battle/Monster.h"
10 #include "../../src/common/Capsule.h"
11 #include "../../src/common/Hero.h"
12 #include "../../src/math/Vector.h"
14 #include <cppunit/extensions/HelperMacros.h>
17 namespace test_battle {
20 : public CppUnit::TestFixture {
21 CPPUNIT_TEST_SUITE(BattleTest);
22 CPPUNIT_TEST(testSetup);
23 CPPUNIT_TEST(testHeroAttackSelection);
24 CPPUNIT_TEST(testBattleRound);
25 CPPUNIT_TEST_SUITE_END();
32 void testHeroAttackSelection();
33 void testBattleRound();
36 void loadBattle(battle::Battle &);
37 void selectHeroAttacks(battle::Battle &);
40 battle::PartyLayout *twoLayout;
41 battle::PartyLayout *fiveLayout;
42 math::Vector<int> positions[7];
44 common::Capsule capsule;
46 battle::Monster monster;