tests: add tests for calling new method types
This commit was merged in pull request #2.
This commit is contained in:
Binary file not shown.
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user