2 Copyright (C) 2024 Rubén Beltrán del Río
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see https://captura.tranquil.systems.
19 @testable import Captura
21 final class CapturaTests: XCTestCase {
23 override func setUpWithError() throws {
24 // Put setup code here. This method is called before the invocation of each test method in the class.
27 override func tearDownWithError() throws {
28 // Put teardown code here. This method is called after the invocation of each test method in the class.
31 func testExample() throws {
32 // This is an example of a functional test case.
33 // Use XCTAssert and related functions to verify your tests produce the correct results.
34 // Any test you write for XCTest can be annotated as throws and async.
35 // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
36 // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
39 func testPerformanceExample() throws {
40 // This is an example of a performance test case.
42 // Put the code you want to measure the time of here.