File tree Expand file tree Collapse file tree 11 files changed +264
-11
lines changed
Expand file tree Collapse file tree 11 files changed +264
-11
lines changed Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class AudioTests : XCTestCase { }
8+ final class AudioTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class ChatTests : XCTestCase { }
8+ final class ChatTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class CompletionsTests : XCTest { }
8+ final class CompletionsTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class EditsTests : XCTestCase { }
8+ final class EditsTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class EmbeddingsTests : XCTestCase { }
8+ final class EmbeddingsTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class EnginesTests : XCTestCase { }
8+ final class EnginesTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class FilesTests : XCTestCase { }
8+ final class FilesTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- class FineTunesTests : XCTest { }
8+ class FineTunesTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class ImagesTests : XCTestCase { }
8+ final class ImagesTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
Original file line number Diff line number Diff line change 55@testable import ACMOpenAI
66import XCTest
77
8- final class ModelsTests : XCTestCase { }
8+ final class ModelsTests : XCTestCase {
9+ override func setUpWithError( ) throws {
10+ // Put setup code here. This method is called before the invocation of each test method in the class.
11+ }
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+
17+ func testExample( ) throws {
18+ // This is an example of a functional test case.
19+ // Use XCTAssert and related functions to verify your tests produce the correct results.
20+ // Any test you write for XCTest can be annotated as throws and async.
21+ // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
22+ // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards.
23+ }
24+
25+ func testPerformanceExample( ) throws {
26+ // This is an example of a performance test case.
27+ measure {
28+ // Put the code you want to measure the time of here.
29+ }
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments