/
f0rzaah
/
Project
Обзор
Документация
Войти
/
f0rzaah
/
Project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
MyProject/MyProjectTests/MyProjectTests.swift
35 строк
1 KB
User27
added project
11 сен 2025, 17:28
11 сен 2025, 17:28
72c3b2d
Код
Авторство
О чём код?
// // MyProjectTests.swift // MyProjectTests // // Created by User27 on 11.09.2025. // import XCTest final class MyProjectTests: XCTestCase { override func setUpWithError() throws { // Put setup code here. This method is called before the invocation of each test method in the class. } override func tearDownWithError() throws { // Put teardown code here. This method is called after the invocation of each test method in the class. } func testExample() throws { // This is an example of a functional test case. // Use XCTAssert and related functions to verify your tests produce the correct results. // Any test you write for XCTest can be annotated as throws and async. // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. } func testPerformanceExample() throws { // This is an example of a performance test case. measure { // Put the code you want to measure the time of here. } } }