1 |
//
|
|
2 |
// fixturesTests.m
|
|
3 |
// fixturesTests
|
|
4 |
//
|
|
5 |
// Created by Mark Larsen on 6/24/14.
|
|
6 |
// Copyright (c) 2014 marklarr. All rights reserved.
|
|
7 |
//
|
|
8 |
|
|
9 |
#import <XCTest/XCTest.h>
|
|
10 |
#import "fixtures.h"
|
|
11 |
#import "fixturesTwo.h"
|
|
12 |
|
|
13 |
@interface fixturesTests : XCTestCase
|
|
14 |
|
|
15 |
@end
|
|
16 |
|
|
17 |
@implementation fixturesTests
|
|
18 |
|
|
19 |
- (void)setUp
|
|
20 |
{
|
2x |
21 |
[super setUp];
|
2x |
22 |
// Put setup code here. This method is called before the invocation of each test method in the class.
|
2x |
23 |
}
|
2x |
24 |
|
|
25 |
- (void)tearDown
|
|
26 |
{
|
2x |
27 |
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
2x |
28 |
[super tearDown];
|
2x |
29 |
}
|
2x |
30 |
|
|
31 |
- (void)testExample
|
|
32 |
{
|
1x |
33 |
fixtures *f = [[fixtures alloc] init];
|
1x |
34 |
[f testedMethod];
|
1x |
35 |
}
|
1x |
36 |
|
|
37 |
- (void)testFixturesTwo
|
|
38 |
{
|
1x |
39 |
fixturesTwo *f2 = [[fixturesTwo alloc] init];
|
1x |
40 |
|
1x |
41 |
XCTAssertEqual([f2 doSomething], 11);
|
1x |
42 |
}
|
1x |
43 |
|
|
44 |
@end
|
|