initial Swifty Car commit

This commit is contained in:
Piv
2020-05-07 20:54:26 +09:30
parent e7977d47eb
commit 270dd8e362
5 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import XCTest
@testable import SwiftyCar
final class SwiftyCarTests: 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(SwiftyCar().text, "Hello, World!")
}
static var allTests = [
("testExample", testExample),
]
}

View File

@@ -0,0 +1,9 @@
import XCTest
#if !canImport(ObjectiveC)
public func allTests() -> [XCTestCaseEntry] {
return [
testCase(SwiftyCarTests.allTests),
]
}
#endif