From 68325f68491349501009b8432326fac3591791be Mon Sep 17 00:00:00 2001 From: "dswitkin@google.com" Date: Thu, 26 Aug 2010 14:55:17 +0000 Subject: [PATCH] Updated the negative blackbox test values. git-svn-id: http://zxing.googlecode.com/svn/trunk@1567 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../zxing/negative/FalsePositivesBlackBoxTestCase.java | 8 ++++---- .../zxing/negative/UnsupportedBlackBoxTestCase.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/test/src/com/google/zxing/negative/FalsePositivesBlackBoxTestCase.java b/core/test/src/com/google/zxing/negative/FalsePositivesBlackBoxTestCase.java index 97e18a25..fcac7667 100644 --- a/core/test/src/com/google/zxing/negative/FalsePositivesBlackBoxTestCase.java +++ b/core/test/src/com/google/zxing/negative/FalsePositivesBlackBoxTestCase.java @@ -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); } } diff --git a/core/test/src/com/google/zxing/negative/UnsupportedBlackBoxTestCase.java b/core/test/src/com/google/zxing/negative/UnsupportedBlackBoxTestCase.java index 99ebdef5..e9108bd7 100644 --- a/core/test/src/com/google/zxing/negative/UnsupportedBlackBoxTestCase.java +++ b/core/test/src/com/google/zxing/negative/UnsupportedBlackBoxTestCase.java @@ -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); } } -- 2.20.1