Finished work on the local binarizer and renamed it to HybridBinarizer. It uses the...
[zxing.git] / core / test / src / com / google / zxing / datamatrix / DataMatrixBlackBox2TestCase.java
index be943ca..3508ff0 100644 (file)
 
 package com.google.zxing.datamatrix;
 
-//import com.google.zxing.MultiFormatReader;
 import com.google.zxing.BarcodeFormat;
 import com.google.zxing.common.AbstractBlackBoxTestCase;
 
-import java.io.File;
-
 /**
  * @author dswitkin@google.com (Daniel Switkin)
  */
@@ -29,11 +26,11 @@ public final class DataMatrixBlackBox2TestCase extends AbstractBlackBoxTestCase
 
   public DataMatrixBlackBox2TestCase() {
     // TODO use MultiFormatReader here once Data Matrix decoder is done
-    super(new File("test/data/blackbox/datamatrix-2"), new DataMatrixReader(), BarcodeFormat.DATAMATRIX);
-    addTest(3, 3, 0.0f);
+    super("test/data/blackbox/datamatrix-2", new DataMatrixReader(), BarcodeFormat.DATAMATRIX);
+    addTest(4, 4, 0.0f);
     addTest(1, 1, 90.0f);
     addTest(3, 3, 180.0f);
-    addTest(4, 4, 270.0f);
+    addTest(1, 1, 270.0f);
   }
 
 }