mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
Add test for emptyMethod()
This commit is contained in:
parent
d9fcca86d0
commit
10dcbd66b0
@ -54,6 +54,7 @@ public class CallFunctions extends AbstractBaseTest {
|
|||||||
static int intCall() {
|
static int intCall() {
|
||||||
intConst();
|
intConst();
|
||||||
doubleConst();
|
doubleConst();
|
||||||
|
emptyMethod();
|
||||||
return abc( 4,5) + intConst() * 100;
|
return abc( 4,5) + intConst() * 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,6 +66,10 @@ public class CallFunctions extends AbstractBaseTest {
|
|||||||
return 3.5;
|
return 3.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void emptyMethod() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Import( module = "global.Math", name = "max" )
|
@Import( module = "global.Math", name = "max" )
|
||||||
static int abc( int a, int b) {
|
static int abc( int a, int b) {
|
||||||
return Math.max( a, b );
|
return Math.max( a, b );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user