]> git.r.bdr.sh - rbdr/captura/blob - CapturaTests/CapturaTests.swift
Add license and contributing
[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 @testable import Captura
20
21 final class CapturaTests: XCTestCase {
22
23 override func setUpWithError() throws {
24 // Put setup code here. This method is called before the invocation of each test method in the class.
25 }
26
27 override func tearDownWithError() throws {
28 // Put teardown code here. This method is called after the invocation of each test method in the class.
29 }
30
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.
37 }
38
39 func testPerformanceExample() throws {
40 // This is an example of a performance test case.
41 self.measure {
42 // Put the code you want to measure the time of here.
43 }
44 }
45
46 }