Slather logo

Coverage for "BranchesTests.m" : 100.00%

(16 of 16 relevant lines covered)

spec/fixtures/fixturesTests/BranchesTests.m

1
//
2
//  BranchesTests.m
3
//  fixtures
4
//
5
//  Created by Julian Krumow on 11.10.14.
6
//  Copyright (c) 2014 marklarr. All rights reserved.
7
//
8
9
#import <XCTest/XCTest.h>
10
#import "Branches.h"
11
12
@interface BranchesTests : XCTestCase
13
14
@end
15
16
@implementation BranchesTests
17
18
- (void)setUp {
2x
19
    [super setUp];
2x
20
    // Put setup code here. This method is called before the invocation of each test method in the class.
2x
21
}
2x
22
23
- (void)tearDown {
2x
24
    // Put teardown code here. This method is called after the invocation of each test method in the class.
2x
25
    [super tearDown];
2x
26
}
2x
27
28
- (void)testBranchesNoBranches {
1x
29
    Branches *branches = [[Branches alloc] init];
1x
30
    [branches branches:NO skipBranches:NO];
1x
31
}
1x
32
33
- (void)testBranchesFirstBranchAndSkip {
1x
34
    Branches *branches = [[Branches alloc] init];
1x
35
    [branches branches:YES skipBranches:YES];
1x
36
}
1x
37
38
@end