Improve detector logic to throw out false positive finder patterns in a more reasonab...
[zxing.git] / core / test / src / com / google / zxing / qrcode / QRCodeBlackBox2TestCase.java
index de9dce2..658b323 100644 (file)
@@ -20,19 +20,17 @@ import com.google.zxing.MultiFormatReader;
 import com.google.zxing.BarcodeFormat;
 import com.google.zxing.common.AbstractBlackBoxTestCase;
 
-import java.io.File;
-
 /**
  * @author Sean Owen
  */
 public final class QRCodeBlackBox2TestCase extends AbstractBlackBoxTestCase {
 
   public QRCodeBlackBox2TestCase() {
-    super(new File("test/data/blackbox/qrcode-2"), new MultiFormatReader(), BarcodeFormat.QR_CODE);
+    super("test/data/blackbox/qrcode-2", new MultiFormatReader(), BarcodeFormat.QR_CODE);
     addTest(23, 23, 0.0f);
-    addTest(18, 18, 90.0f);
-    addTest(22, 22, 180.0f);
-    addTest(17, 17, 270.0f);
+    addTest(21, 21, 90.0f);
+    addTest(20, 20, 180.0f);
+    addTest(18, 18, 270.0f);
   }
 
 }
\ No newline at end of file