mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +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() {
|
||||
intConst();
|
||||
doubleConst();
|
||||
emptyMethod();
|
||||
return abc( 4,5) + intConst() * 100;
|
||||
}
|
||||
|
||||
@ -65,6 +66,10 @@ public class CallFunctions extends AbstractBaseTest {
|
||||
return 3.5;
|
||||
}
|
||||
|
||||
static void emptyMethod() {
|
||||
|
||||
}
|
||||
|
||||
@Import( module = "global.Math", name = "max" )
|
||||
static int abc( int a, int b) {
|
||||
return Math.max( a, b );
|
||||
|
Loading…
x
Reference in New Issue
Block a user