Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Commit 3555553

Browse files
committed
Added more files.
1 parent 1e26aef commit 3555553

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

Tests/LinuxMain.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import XCTest
2+
3+
import fortnite_apiTests
4+
5+
var tests = [XCTestCaseEntry]()
6+
tests += fortnite_apiTests.allTests()
7+
XCTMain(tests)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import XCTest
2+
3+
#if !canImport(ObjectiveC)
4+
public func allTests() -> [XCTestCaseEntry] {
5+
return [
6+
testCase(fortnite_apiTests.allTests),
7+
]
8+
}
9+
#endif
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import XCTest
2+
@testable import fortnite_api
3+
4+
final class fortnite_apiTests: XCTestCase {
5+
func testExample() {
6+
// This is an example of a functional test case.
7+
// Use XCTAssert and related functions to verify your tests produce the correct
8+
// results.
9+
XCTAssertEqual(fortnite_api().text, "Hello, World!")
10+
}
11+
12+
static var allTests = [
13+
("testExample", testExample),
14+
]
15+
}

0 commit comments

Comments
 (0)