fix when -DLIBA_JAVASCRIPT=1 and -DLIBA_CXX=0
[liba.git] / java / test / _a.java
blob8a5872d8cf8c869089d552cdf10a2e3aeeeac6a6
1 import java.io.*;
3 class _a {
4 public static void main(String[] args) throws FileNotFoundException {
5 if (args.length > 0) {
6 System.setOut(new PrintStream(new FileOutputStream(args[0])));
8 System.out.println("version " + liba.VERSION);
9 System.out.println(liba.hash_bkdr("0123456789".getBytes(), 0));
10 System.out.println(liba.hash_sdbm("0123456789".getBytes(), 0));
11 System.out.println(liba.isqrt(1));
12 System.out.println(liba.rsqrt(1));