-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestMapObject.h
41 lines (30 loc) · 1001 Bytes
/
TestMapObject.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
//
// TestMapObject.h
// MathWars
//
// Created by Inf on 24.02.10.
// Copyright 2010 Soulteam. All rights reserved.
//
// See Also: http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/135-Unit_Testing_Applications/unit_testing_applications.html
// Application unit tests contain unit test code that must be injected into an application to run correctly.
// Define USE_APPLICATION_UNIT_TEST to 0 if the unit test code is designed to be linked into an independent test executable.
#import <SenTestingKit/SenTestingKit.h>
#import <UIKit/UIKit.h>
#import "MapObject.h"
//#import "application_headers" as required
@interface TestMapObject : SenTestCase {
id mockPlayer;
id mockEnemy;
id mockPlayerUnit;
id mockEnemyUnit;
id mockCombat;
MapObject* mapObject;
}
-(void)createMapObject;
-(void)testEmptyObject;
-(void)testGuardedObject;
-(void)testCombatLose;
-(void)testCombatWin;
/*-(void)testEmptyBuilding;
-(void)testEnemyBuilding;*/
@end