unsigned long long test added

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-10-11 22:36:15 +00:00
commit 66e0877ead
2 changed files with 23 additions and 2 deletions

View file

@ -19,6 +19,21 @@ public class director_frob_runme
String s = foo.abs_method();
if (!s.equals("Bravo::abs_method()"))
throw new RuntimeException( "error" );
throw new RuntimeException( "error" );
Prims prims = new PrimsDerived();
java.math.BigInteger bi = prims.callull(200, 50);
java.math.BigInteger biCheck = new java.math.BigInteger("150");
if (bi.compareTo(biCheck) != 0)
throw new RuntimeException( "failed got:" + bi);
}
}
}
class PrimsDerived extends Prims {
PrimsDerived() {
super();
}
public java.math.BigInteger ull(java.math.BigInteger i, java.math.BigInteger j) {
return i.subtract(j);
}
}