Updated the negative blackbox test values.
authordswitkin@google.com <dswitkin@google.com@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 26 Aug 2010 14:55:17 +0000 (14:55 +0000)
committerdswitkin@google.com <dswitkin@google.com@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Thu, 26 Aug 2010 14:55:17 +0000 (14:55 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1567 59b500cc-1b3d-0410-9834-0bbf25fbcc57

core/test/src/com/google/zxing/negative/FalsePositivesBlackBoxTestCase.java
core/test/src/com/google/zxing/negative/UnsupportedBlackBoxTestCase.java

index 97e18a2..fcac766 100644 (file)
@@ -27,10 +27,10 @@ public final class FalsePositivesBlackBoxTestCase extends AbstractNegativeBlackB
 
   public FalsePositivesBlackBoxTestCase() {
     super("test/data/blackbox/falsepositives");
-    addTest(2, 0.0f);
-    addTest(1, 90.0f);
-    addTest(1, 180.0f);
-    addTest(2, 270.0f);
+    addTest(1, 0.0f);
+    addTest(0, 90.0f);
+    addTest(0, 180.0f);
+    addTest(1, 270.0f);
   }
 
 }
index 99ebdef..e9108bd 100644 (file)
@@ -27,10 +27,10 @@ public final class UnsupportedBlackBoxTestCase extends AbstractNegativeBlackBoxT
 
   public UnsupportedBlackBoxTestCase() {
     super("test/data/blackbox/unsupported");
-    addTest(1, 0.0f);
-    addTest(1, 90.0f);
-    addTest(1, 180.0f);
-    addTest(1, 270.0f);
+    addTest(0, 0.0f);
+    addTest(0, 90.0f);
+    addTest(0, 180.0f);
+    addTest(0, 270.0f);
   }
 
 }