import com.google.zxing.BarcodeFormat;
import com.google.zxing.common.AbstractBlackBoxTestCase;
-import java.io.File;
-
/**
- * @author srowen@google.com (Sean Owen)
+ * @author Sean Owen
*/
public final class QRCodeBlackBox2TestCase extends AbstractBlackBoxTestCase {
public QRCodeBlackBox2TestCase() {
- super(new File("test/data/blackbox/qrcode-2"), new MultiFormatReader(), BarcodeFormat.QR_CODE);
- addTest(10, 0.0f);
- addTest(6, 90.0f);
- addTest(8, 180.0f);
- addTest(2, 270.0f);
+ super("test/data/blackbox/qrcode-2", new MultiFormatReader(), BarcodeFormat.QR_CODE);
+ addTest(23, 23, 0.0f);
+ addTest(20, 20, 90.0f);
+ addTest(21, 21, 180.0f);
+ addTest(19, 19, 270.0f);
}
}
\ No newline at end of file