//
//  IntegerTypeExtensionTests.swift
//  HandySwift
//
//  Created by Cihat Gündüz on 18.12.15.
//  Copyright © 2015 Flinesoft. All rights reserved.
//

import XCTest

@testable import HandySwift

class IntExtensionTests: XCTestCase {
        
    func testTimesMethod() {
        var testString = ""
        
        0.times{ testString += "." }
        
        XCTAssertEqual(testString, "")
        
        3.times() {
            testString += "."
        }
        
        XCTAssertEqual(testString, "...")
    }
    
}

//
//  IntegerTypeExtensionTests.swift
//  HandySwift
//
//  Created by Cihat Gündüz on 18.12.15.
//  Copyright © 2015 Flinesoft. All rights reserved.
//

import XCTest

@testable import HandySwift

class IntExtensionTests: XCTestCase {
        
    func testTimesMethod() {
        var testString = ""
        
        0.times{ testString += "." }
        
        XCTAssertEqual(testString, "")
        
        3.times {
            testString += "."
        }
        
        XCTAssertEqual(testString, "...")
    }
    
}

Use fixed syntax in Tests, too
Use fixed syntax in Tests, too
