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

Commit

Permalink
Added more files.
Browse files Browse the repository at this point in the history
  • Loading branch information
xMistt committed Dec 13, 2019
1 parent 1e26aef commit 3555553
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import XCTest

import fortnite_apiTests

var tests = [XCTestCaseEntry]()
tests += fortnite_apiTests.allTests()
XCTMain(tests)
9 changes: 9 additions & 0 deletions Tests/fortnite-apiTests/XCTestManifests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import XCTest

#if !canImport(ObjectiveC)
public func allTests() -> [XCTestCaseEntry] {
return [
testCase(fortnite_apiTests.allTests),
]
}
#endif
15 changes: 15 additions & 0 deletions Tests/fortnite-apiTests/fortnite_apiTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import XCTest
@testable import fortnite_api

final class fortnite_apiTests: XCTestCase {
func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct
// results.
XCTAssertEqual(fortnite_api().text, "Hello, World!")
}

static var allTests = [
("testExample", testExample),
]
}

0 comments on commit 3555553

Please sign in to comment.