tests: add tests for calling new method types

This commit was merged in pull request #2.
This commit is contained in:
2020-06-26 15:40:17 -04:00
parent b5d97bc020
commit b74a17279b
3 changed files with 190 additions and 1 deletions
BIN
View File
Binary file not shown.
+28
View File
@@ -21,6 +21,34 @@ public class AClass {
return intval;
}
public boolean GetBoolean() {
return true;
}
public byte GetByte() {
return 127;
}
public char GetChar() {
return 65432;
}
public short GetShort() {
return 512;
}
public long GetLong() {
return 1L<<33;
}
public float GetFloat() {
return 4.321f;
}
public double GetDouble() {
return 5.4321;
}
public void SetInt(int val) {
intval = val;
}