Issue 520
[zxing.git] / core / test / src / com / google / zxing / qrcode / QRCodeBlackBox3TestCase.java
index 2b8a5bc..0894020 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;
 
-import java.io.File;
-
 /**
  * @author dswitkin@google.com (Daniel Switkin)
  */
 public final class QRCodeBlackBox3TestCase extends AbstractBlackBoxTestCase {
 
   public QRCodeBlackBox3TestCase() {
-    super(new File("test/data/blackbox/qrcode-3"), new MultiFormatReader(), BarcodeFormat.QR_CODE);
-    addTest(29, 29, 0.0f);
-    addTest(26, 26, 90.0f);
-    addTest(29, 29, 180.0f);
-    addTest(26, 26, 270.0f);
+    super("test/data/blackbox/qrcode-3", new MultiFormatReader(), BarcodeFormat.QR_CODE);
+    addTest(38, 38, 0.0f);
+    addTest(38, 38, 90.0f);
+    addTest(36, 36, 180.0f);
+    addTest(38, 38, 270.0f);
   }
 
-}
\ No newline at end of file
+}