#!/bin/sh

cp ../*.java .

javac *.java
while true
do
    python gen.py > tesseract.in
    cat tesseract.in
    java tesseract_ak_n4
    mv tesseract.out{,~}
    java tesseract_pk
    diff tesseract.out{,~} || break
done
