]> git.r.bdr.sh - rbdr/captura/blob - CapturaTests/CapturaTests.swift
Format the code
[rbdr/captura] / CapturaTests / CapturaTests.swift
1 /*
2 Copyright (C) 2024 Rubén Beltrán del Río
3
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.
8
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.
13
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.
16 */
17
18 import XCTest
19
20 @testable import Captura
21
22 final class CapturaTests: XCTestCase {
23
24 override func setUpWithError() throws {
25 // Put setup code here. This method is called before the invocation of each test method in the class.
26 }
27
28 override func tearDownWithError() throws {
29 // Put teardown code here. This method is called after the invocation of each test method in the class.
30 }
31
32 func testExample() throws {
33 // This is an example of a functional test case.
34 // Use XCTAssert and related functions to verify your tests produce the correct results.
35 // Any test you write for XCTest can be annotated as throws and async.
36 // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
37 // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
38 }
39
40 func testPerformanceExample() throws {
41 // This is an example of a performance test case.
42 self.measure {
43 // Put the code you want to measure the time of here.
44 }
45 }
46
47 }