Skip to content

Commit

Permalink
Two-spaced indents
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinlauKL authored Mar 21, 2019
1 parent 91b7bb1 commit 7457ceb
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions Comb Sort/Tests/CombSortTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,20 @@
import XCTest

class CombSortTests: XCTestCase {
var sequence: [Int]!
let expectedSequence: [Int] = [-12, -10, -1, 2, 9, 32, 55, 67, 89, 101]

func testSwiftVersion(){
#if swift(>=4.2)
print("Hello, Swift 4.2!")
#endif
}
var sequence: [Int]!
let expectedSequence: [Int] = [-12, -10, -1, 2, 9, 32, 55, 67, 89, 101]

override func setUp() {
super.setUp()
sequence = [2, 32, 9, -1, 89, 101, 55, -10, -12, 67]
}
override func setUp() {
super.setUp()
sequence = [2, 32, 9, -1, 89, 101, 55, -10, -12, 67]
}

override func tearDown() {
super.tearDown()
}
override func tearDown() {
super.tearDown()
}

func testCombSort() {
let sortedSequence = combSort(sequence)
XCTAssertEqual(sortedSequence, expectedSequence)
}
func testCombSort() {
let sortedSequence = combSort(sequence)
XCTAssertEqual(sortedSequence, expectedSequence)
}
}

0 comments on commit 7457ceb

Please sign in to comment.