Guillaume Roguez | d0a1faf | 2016-06-29 15:55:37 -0400 | [diff] [blame] | 1 | // |
| 2 | // RingTests.swift |
| 3 | // RingTests |
| 4 | // |
| 5 | // Created by Edric on 16-06-23. |
| 6 | // Copyright © 2016 Savoir-faire Linux. All rights reserved. |
| 7 | // |
| 8 | |
| 9 | import XCTest |
| 10 | @testable import Ring |
| 11 | |
| 12 | class RingTests: XCTestCase { |
Romain Bertozzi | fac9f89 | 2016-11-10 11:00:44 -0500 | [diff] [blame^] | 13 | |
Guillaume Roguez | d0a1faf | 2016-06-29 15:55:37 -0400 | [diff] [blame] | 14 | override func setUp() { |
| 15 | super.setUp() |
| 16 | // Put setup code here. This method is called before the invocation of each test method in the class. |
| 17 | } |
Romain Bertozzi | fac9f89 | 2016-11-10 11:00:44 -0500 | [diff] [blame^] | 18 | |
Guillaume Roguez | d0a1faf | 2016-06-29 15:55:37 -0400 | [diff] [blame] | 19 | override func tearDown() { |
| 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. |
| 21 | super.tearDown() |
| 22 | } |
Romain Bertozzi | fac9f89 | 2016-11-10 11:00:44 -0500 | [diff] [blame^] | 23 | |
Guillaume Roguez | d0a1faf | 2016-06-29 15:55:37 -0400 | [diff] [blame] | 24 | func testExample() { |
| 25 | // This is an example of a functional test case. |
| 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. |
| 27 | } |
Romain Bertozzi | fac9f89 | 2016-11-10 11:00:44 -0500 | [diff] [blame^] | 28 | |
Guillaume Roguez | d0a1faf | 2016-06-29 15:55:37 -0400 | [diff] [blame] | 29 | func testPerformanceExample() { |
| 30 | // This is an example of a performance test case. |
Romain Bertozzi | fac9f89 | 2016-11-10 11:00:44 -0500 | [diff] [blame^] | 31 | self.measure { |
Guillaume Roguez | d0a1faf | 2016-06-29 15:55:37 -0400 | [diff] [blame] | 32 | // Put the code you want to measure the time of here. |
| 33 | } |
| 34 | } |
Romain Bertozzi | fac9f89 | 2016-11-10 11:00:44 -0500 | [diff] [blame^] | 35 | |
Guillaume Roguez | d0a1faf | 2016-06-29 15:55:37 -0400 | [diff] [blame] | 36 | } |