Finished work on the local binarizer and renamed it to HybridBinarizer. It uses the...
[zxing.git] / core / test / src / com / google / zxing / qrcode / QRCodeBlackBox1TestCase.java
index 801f626..b0e1645 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2008 Google Inc.
+ * Copyright 2008 ZXing authors
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,15 +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(), 0.5, BarcodeFormat.QR_CODE);
+    super("test/data/blackbox/qrcode-1", new MultiFormatReader(), BarcodeFormat.QR_CODE);
+    addTest(17, 17, 0.0f);
+    addTest(13, 13, 90.0f);
+    addTest(16, 16, 180.0f);
+    addTest(14, 14, 270.0f);
   }
 
-}
\ No newline at end of file
+}