Added 18 real world DataMatrix blackbox images, plus turned on rotation for the origi...
[zxing.git] / core / test / src / com / google / zxing / datamatrix / DataMatrixBlackBox1TestCase.java
index f3e690a..dd82994 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.
@@ -29,7 +29,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(), 7, BarcodeFormat.DATAMATRIX);
+    super(new File("test/data/blackbox/datamatrix-1"), new DataMatrixReader(), BarcodeFormat.DATAMATRIX);
+    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