025771460c
^KT-61259
21 lines
403 B
Swift
Vendored
21 lines
403 B
Swift
Vendored
import Foundation
|
|
import Kt57791
|
|
|
|
class FooImpl : Foo {
|
|
func bar() -> String? { "zzz" }
|
|
}
|
|
|
|
func testKt57791() throws {
|
|
try assertTrue(Kt57791Kt.foobar(foo: FooImpl()))
|
|
}
|
|
|
|
class Kt57791Tests : TestProvider {
|
|
var tests: [TestCase] = []
|
|
|
|
init() {
|
|
providers.append(self)
|
|
tests = [
|
|
TestCase(name: "Kt57791", method: withAutorelease(testKt57791)),
|
|
]
|
|
}
|
|
} |