Add wrapped function test
This commit is contained in:
committed by
Sergey Bogolepov
parent
85d4e3071c
commit
497bb9a05c
@@ -4,4 +4,5 @@ import objclib.*
|
|||||||
fun main() {
|
fun main() {
|
||||||
assertEquals(1, getFrameworkInt())
|
assertEquals(1, getFrameworkInt())
|
||||||
assertEquals(2, getDefInt())
|
assertEquals(2, getDefInt())
|
||||||
|
assertEquals(1, getFrameworkIntFromDef())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,3 +4,7 @@ modules = Foo
|
|||||||
static int getDefInt() {
|
static int getDefInt() {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int getFrameworkIntFromDef() {
|
||||||
|
return getFrameworkInt();
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user