1.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/Numbers.java Sun Nov 18 19:54:40 2012 +0100
1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/Numbers.java Wed Jan 30 22:23:21 2013 +0100
1.3 @@ -67,4 +67,28 @@
1.4 static String floatToString() {
1.5 return new Float(7.0).toString().toString();
1.6 }
1.7 +
1.8 + public static long conversionL() {
1.9 + return Long.MAX_VALUE;
1.10 + }
1.11 +
1.12 + public static long addL(long x, long y) {
1.13 + return (x + y);
1.14 + }
1.15 +
1.16 + public static long subL(long x, long y) {
1.17 + return (x - y);
1.18 + }
1.19 +
1.20 + public static long mulL(long x, long y) {
1.21 + return (x * y);
1.22 + }
1.23 +
1.24 + public static long divL(long x, long y) {
1.25 + return (x / y);
1.26 + }
1.27 +
1.28 + public static long modL(long x, long y) {
1.29 + return (x % y);
1.30 + }
1.31 }