//  Copyright (c) 2014 Rob Rix. All rights reserved.

import XCTest
import Set

class SetInitializerTests: XCTestCase {
	func testSequence() {
		XCTAssert(Set([1, 2, 3]) == Set<Int>([1, 2, 3]))
	}

	func testVariadic() {
		XCTAssert(Set(1) == Set([1]))
		XCTAssert(Set(1, 2, 3) == Set([1, 2, 3]))
	}

	func testMinimumCapacity() {
		XCTAssert(Set<Int>(minimumCapacity: 4).isEmpty)
	}
}

//  Copyright (c) 2014 Rob Rix. All rights reserved.

import XCTest
import Set

class SetInitializerTests: XCTestCase {
	func testSequence() {
		XCTAssert(Set([1, 2, 3]) == Set<Int>([1, 2, 3]))
	}

	func testVariadic() {
		XCTAssert(Set(1) == Set<Int>([1]))
		XCTAssert(Set(1, 2, 3) == Set<Int>([1, 2, 3]))
	}

	func testMinimumCapacity() {
		XCTAssert(Set<Int>(minimumCapacity: 4).isEmpty)
	}
}

--- 
+++ 
@@ -9,8 +9,8 @@
 	}
 
 	func testVariadic() {
-		XCTAssert(Set(1) == Set<Int>([1]))
-		XCTAssert(Set(1, 2, 3) == Set<Int>([1, 2, 3]))
+		XCTAssert(Set(1) == Set([1]))
+		XCTAssert(Set(1, 2, 3) == Set([1, 2, 3]))
 	}
 
 	func testMinimumCapacity() {
Remove explicit type annotations when testing variadic initializer
