drone-tutorial-swift/Tests/drone-tutorial-swiftTests/drone_tutorial_swiftTests.swift

22 lines
652 B
Swift
Raw Normal View History

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!")
}
static var allTests = [
("testExample", testExample),
2019-02-03 02:33:36 +00:00
("testFailure", testFailure),
]
}