Small detector simplification that addresses issue 215 and picks up a net +4 more...
[zxing.git] / core / test / src / com / google / zxing / qrcode / QRCodeBlackBox1TestCase.java
index ddbe2e7..7d45588 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 srowen@google.com (Sean Owen)
+ * @author Sean Owen
  */
 public final class QRCodeBlackBox1TestCase extends AbstractBlackBoxTestCase {
 
   public QRCodeBlackBox1TestCase() {
-    super(new File("test/data/blackbox/qrcode-1"), new MultiFormatReader(), BarcodeFormat.QR_CODE);
-    addTest(16, 0.0f);
-    addTest(12, 90.0f);
-    addTest(12, 180.0f);
-    addTest(7, 270.0f);
+    super("test/data/blackbox/qrcode-1", new MultiFormatReader(), BarcodeFormat.QR_CODE);
+    addTest(19, 19, 0.0f);
+    addTest(15, 15, 90.0f);
+    addTest(17, 17, 180.0f);
+    addTest(14, 14, 270.0f);
   }
 
 }
\ No newline at end of file