Added a reflective UPC-E unit test. We cannot decode any of these silver on silver...
[zxing.git] / core / test / src / com / google / zxing / oned / Code128BlackBox1TestCase.java
index c9fec32..bb115aa 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.
@@ -28,7 +28,9 @@ import java.io.File;
 public final class Code128BlackBox1TestCase extends AbstractBlackBoxTestCase {
 
   public Code128BlackBox1TestCase() {
-    super(new File("test/data/blackbox/code128-1"), new MultiFormatReader(), 5, BarcodeFormat.CODE_128);
+    super(new File("test/data/blackbox/code128-1"), new MultiFormatReader(), BarcodeFormat.CODE_128);
+    addTest(5, 5, 0.0f);
+    addTest(5, 5, 180.0f);
   }
 
 }
\ No newline at end of file