TestsPerformance.swift 955 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // TestsPerformance.swift
  3. // TestsPerformance
  4. //
  5. // Created by Marcin Krzyzanowski on 03/04/2018.
  6. // Copyright © 2018 Marcin Krzyzanowski. All rights reserved.
  7. //
  8. import XCTest
  9. class TestsPerformance: XCTestCase {
  10. override func setUp() {
  11. super.setUp()
  12. // Put setup code here. This method is called before the invocation of each test method in the class.
  13. }
  14. override func tearDown() {
  15. // Put teardown code here. This method is called after the invocation of each test method in the class.
  16. super.tearDown()
  17. }
  18. func testExample() {
  19. // This is an example of a functional test case.
  20. // Use XCTAssert and related functions to verify your tests produce the correct results.
  21. }
  22. func testPerformanceExample() {
  23. // This is an example of a performance test case.
  24. self.measure {
  25. // Put the code you want to measure the time of here.
  26. }
  27. }
  28. }