Create test

This commit is contained in:
Rick Clephas
2022-07-12 22:13:02 +02:00
committed by Sergey Bogolepov
parent 59ac756f22
commit fd22add3ca
5 changed files with 28 additions and 2 deletions
@@ -0,0 +1,7 @@
import kotlin.test.*
import objclib.*
fun main() {
assertEquals(1, getFrameworkInt())
assertEquals(2, getDefInt())
}
@@ -0,0 +1,6 @@
language = Objective-C
modules = Foo
---
static int getDefInt() {
return 2;
}
@@ -0,0 +1,3 @@
static int getFrameworkInt() {
return 1;
}
@@ -0,0 +1,3 @@
framework module Foo {
umbrella header "Foo.h"
}