16 lines
439 B
Swift
16 lines
439 B
Swift
|
import XCTest
|
||
|
@testable import SocketsPlugin
|
||
|
|
||
|
class SocketsTests: XCTestCase {
|
||
|
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 = Sockets()
|
||
|
let value = "Hello, World!"
|
||
|
let result = implementation.echo(value)
|
||
|
|
||
|
XCTAssertEqual(value, result)
|
||
|
}
|
||
|
}
|