Created
July 30, 2016 02:00
-
-
Save hoang-tran/5e8c1ad8b18ffaa2d9fa261e7007fcdf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import XCTest | |
| class MyNativeTests: XCTestCase { | |
| override func setUp() { | |
| super.setUp() | |
| // Put setup code here. This method is called before the invocation of each test method in the class. | |
| } | |
| override func tearDown() { | |
| // Put teardown code here. This method is called after the invocation of each test method in the class. | |
| super.tearDown() | |
| } | |
| func testExample() { | |
| // This is an example of a functional test case. | |
| // Use XCTAssert and related functions to verify your tests produce the correct results. | |
| } | |
| func testPerformanceExample() { | |
| // This is an example of a performance test case. | |
| self.measureBlock { | |
| // Put the code you want to measure the time of here. | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment