Issue 520
[zxing.git] / core / test / src / com / google / zxing / qrcode / QRCodeBlackBox5TestCase.java
index fe13f81..ae5737b 100644 (file)
 
 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)
  */
@@ -30,10 +31,10 @@ public final class QRCodeBlackBox5TestCase extends AbstractBlackBoxTestCase {
 
   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);
   }
 
 }