Issue 495: Renamed DATAMATRIX to DATA_MATRIX for consistency.
[zxing.git] / core / test / src / com / google / zxing / datamatrix / DataMatrixBlackBox1TestCase.java
index 2214374..a4cc881 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 bbrown@google.com (Brian Brown)
  */
@@ -29,8 +26,11 @@ public final class DataMatrixBlackBox1TestCase extends AbstractBlackBoxTestCase
 
   public DataMatrixBlackBox1TestCase() {
     // TODO use MultiFormatReader here once Data Matrix decoder is done
-    super(new File("test/data/blackbox/datamatrix-1"), new DataMatrixReader(), BarcodeFormat.DATAMATRIX);
+    super("test/data/blackbox/datamatrix-1", new DataMatrixReader(), BarcodeFormat.DATA_MATRIX);
     addTest(7, 7, 0.0f);
+    addTest(7, 7, 90.0f);
+    addTest(6, 6, 180.0f);
+    addTest(4, 4, 270.0f);
   }
 
 }
\ No newline at end of file