22 lines
652 B
Swift
22 lines
652 B
Swift
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!")
|
|
}
|
|
|
|
func testFailure() {
|
|
// This is an example of a dysfunctional test case.
|
|
XCTAssertEqual(drone_tutorial_swift().text, "Goodbye, Cruel World!")
|
|
}
|
|
|
|
static var allTests = [
|
|
("testExample", testExample),
|
|
("testFailure", testFailure),
|
|
]
|
|
}
|