ADHTuanCanTests.swift 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // ADHTuanCanTests.swift
  3. // ADHTuanCanTests
  4. //
  5. // Created by 敖德亨 on 2023/9/27.
  6. //
  7. import XCTest
  8. @testable import ADHTuanCan
  9. final class ADHTuanCanTests: XCTestCase {
  10. override func setUpWithError() throws {
  11. // Put setup code here. This method is called before the invocation of each test method in the class.
  12. }
  13. override func tearDownWithError() throws {
  14. // Put teardown code here. This method is called after the invocation of each test method in the class.
  15. }
  16. func testExample() throws {
  17. // This is an example of a functional test case.
  18. // Use XCTAssert and related functions to verify your tests produce the correct results.
  19. // Any test you write for XCTest can be annotated as throws and async.
  20. // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
  21. // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
  22. }
  23. func testPerformanceExample() throws {
  24. // This is an example of a performance test case.
  25. self.measure {
  26. // Put the code you want to measure the time of here.
  27. }
  28. }
  29. }