26 lines
766 B
Swift
26 lines
766 B
Swift
import XCTest
|
|
@testable import Plugin
|
|
|
|
class wolTests: XCTestCase {
|
|
override func setUp() {
|
|
super.setUp()
|
|
// Put setup code here. This method is called before the invocation of each test method in the class.
|
|
}
|
|
|
|
override func tearDown() {
|
|
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
|
super.tearDown()
|
|
}
|
|
|
|
func testEcho() {
|
|
// This is an example of a functional test case for a plugin.
|
|
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
|
|
|
let implementation = wol()
|
|
let value = "Hello, World!"
|
|
let result = implementation.echo(value)
|
|
|
|
XCTAssertEqual(value, result)
|
|
}
|
|
}
|