[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,22 @@
|
||||
/*
|
||||
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
import Foundation
|
||||
import Kt
|
||||
|
||||
private func testFill() throws {
|
||||
let result = Kt55736Kt.callback(block: Kt55736Kt.getFillFunction())
|
||||
try assertEquals(actual: result.count, expected: 2)
|
||||
try assertEquals(actual: result[0], expected: 1)
|
||||
try assertEquals(actual: result[1], expected: 2)
|
||||
}
|
||||
|
||||
class Kt55736Tests : SimpleTestProvider {
|
||||
override init() {
|
||||
super.init()
|
||||
|
||||
test("testFill", testFill)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user