[K/N][Tests] Migrate framework and objcexport tests
^KT-61259
This commit is contained in:
committed by
Space Team
parent
f00a145dd7
commit
025771460c
@@ -0,0 +1,24 @@
|
||||
import Foundation
|
||||
import Kt43517
|
||||
|
||||
func testKt43517() throws {
|
||||
try assertEquals(
|
||||
actual: Kt43517Kt.compareEnums(e1: Kt43517Kt.produceEnum(), e2: Kt43517Kt.produceEnum()),
|
||||
expected: true
|
||||
)
|
||||
try assertEquals(
|
||||
actual: Kt43517Kt.getFirstField(s: Kt43517Kt.getGlobalS()),
|
||||
expected: 3
|
||||
)
|
||||
}
|
||||
|
||||
class Kt43517Tests : TestProvider {
|
||||
var tests: [TestCase] = []
|
||||
|
||||
init() {
|
||||
providers.append(self)
|
||||
tests = [
|
||||
TestCase(name: "Kt43517", method: withAutorelease(testKt43517)),
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user