package com.google.zxing.qrcode;
-import com.google.zxing.MultiFormatReader;
import com.google.zxing.BarcodeFormat;
+import com.google.zxing.MultiFormatReader;
import com.google.zxing.common.AbstractBlackBoxTestCase;
/**
* Some very difficult exposure conditions including self-shadowing, which happens a lot when
* pointing down at a barcode (i.e. the phone's shadow falls across part of the image).
+ * The global histogram gets about 5/15, where the local one gets 15/15.
*
* @author dswitkin@google.com (Daniel Switkin)
*/
public QRCodeBlackBox5TestCase() {
super("test/data/blackbox/qrcode-5", new MultiFormatReader(), BarcodeFormat.QR_CODE);
- addTest(4, 4, 0.0f);
- addTest(4, 4, 90.0f);
- addTest(4, 4, 180.0f);
- addTest(5, 5, 270.0f);
+ addTest(18, 18, 0.0f);
+ addTest(19, 19, 90.0f);
+ addTest(19, 19, 180.0f);
+ addTest(19, 19, 270.0f);
}
}