2019-02-03 02:25:27 +00:00
|
|
|
import XCTest
|
|
|
|
@testable import drone_tutorial_swift
|
|
|
|
|
|
|
|
final class drone_tutorial_swiftTests: 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(drone_tutorial_swift().text, "Hello, World!")
|
|
|
|
}
|
|
|
|
|
2019-02-03 02:33:36 +00:00
|
|
|
func testFailure() {
|
|
|
|
// This is an example of a dysfunctional test case.
|
|
|
|
XCTAssertEqual(drone_tutorial_swift().text, "Goodbye, Cruel World!")
|
|
|
|
}
|
|
|
|
|
2019-02-03 02:25:27 +00:00
|
|
|
static var allTests = [
|
|
|
|
("testExample", testExample),
|
2019-02-03 02:33:36 +00:00
|
|
|
("testFailure", testFailure),
|
2019-02-03 02:25:27 +00:00
|
|
|
]
|
|
|
|
}
|