From 5d3a52df9c7562f60af1560d290f576a41208296 Mon Sep 17 00:00:00 2001 From: "srowen@gmail.com" Date: Sat, 27 Apr 2013 11:47:24 +0000 Subject: [PATCH] Update other tests to reflect better performance git-svn-id: https://zxing.googlecode.com/svn/trunk@2697 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../zxing/datamatrix/DataMatrixBlackBox2TestCase.java | 8 ++++---- .../com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java | 4 ++-- .../com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java | 6 +++--- .../com/google/zxing/qrcode/QRCodeBlackBox3TestCase.java | 4 ++-- .../com/google/zxing/qrcode/QRCodeBlackBox4TestCase.java | 4 ++-- .../com/google/zxing/qrcode/QRCodeBlackBox5TestCase.java | 2 +- .../com/google/zxing/qrcode/QRCodeBlackBox6TestCase.java | 6 +++--- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/core/test/src/com/google/zxing/datamatrix/DataMatrixBlackBox2TestCase.java b/core/test/src/com/google/zxing/datamatrix/DataMatrixBlackBox2TestCase.java index cc14daf53..48ce042a5 100644 --- a/core/test/src/com/google/zxing/datamatrix/DataMatrixBlackBox2TestCase.java +++ b/core/test/src/com/google/zxing/datamatrix/DataMatrixBlackBox2TestCase.java @@ -27,10 +27,10 @@ public final class DataMatrixBlackBox2TestCase extends AbstractBlackBoxTestCase public DataMatrixBlackBox2TestCase() { super("test/data/blackbox/datamatrix-2", new MultiFormatReader(), BarcodeFormat.DATA_MATRIX); - addTest(8, 8, 0, 1, 0.0f); - addTest(14, 14, 0, 1, 90.0f); - addTest(14, 14, 0, 1, 180.0f); - addTest(13, 13, 0, 1, 270.0f); + addTest(8, 15, 0, 1, 0.0f); + addTest(14, 16, 0, 1, 90.0f); + addTest(14, 15, 0, 1, 180.0f); + addTest(13, 16, 0, 1, 270.0f); } } diff --git a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java index d9a3d6770..8ccacfd14 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox1TestCase.java @@ -28,9 +28,9 @@ public final class QRCodeBlackBox1TestCase extends AbstractBlackBoxTestCase { public QRCodeBlackBox1TestCase() { super("test/data/blackbox/qrcode-1", new MultiFormatReader(), BarcodeFormat.QR_CODE); addTest(17, 17, 0.0f); - addTest(14, 14, 90.0f); + addTest(14, 15, 90.0f); addTest(17, 17, 180.0f); - addTest(14, 14, 270.0f); + addTest(14, 15, 270.0f); } } diff --git a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java index 8c6912524..6a325035e 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox2TestCase.java @@ -27,10 +27,10 @@ public final class QRCodeBlackBox2TestCase extends AbstractBlackBoxTestCase { public QRCodeBlackBox2TestCase() { super("test/data/blackbox/qrcode-2", new MultiFormatReader(), BarcodeFormat.QR_CODE); - addTest(30, 30, 0.0f); - addTest(29, 29, 90.0f); + addTest(30, 31, 0.0f); + addTest(29, 30, 90.0f); addTest(30, 30, 180.0f); - addTest(29, 29, 270.0f); + addTest(29, 30, 270.0f); } } diff --git a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox3TestCase.java b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox3TestCase.java index d561a7956..dd3d021f6 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox3TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox3TestCase.java @@ -28,8 +28,8 @@ public final class QRCodeBlackBox3TestCase extends AbstractBlackBoxTestCase { public QRCodeBlackBox3TestCase() { super("test/data/blackbox/qrcode-3", new MultiFormatReader(), BarcodeFormat.QR_CODE); addTest(38, 38, 0.0f); - addTest(38, 38, 90.0f); - addTest(36, 36, 180.0f); + addTest(38, 39, 90.0f); + addTest(36, 38, 180.0f); addTest(39, 39, 270.0f); } diff --git a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox4TestCase.java b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox4TestCase.java index bcddd5de6..1c518e857 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox4TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox4TestCase.java @@ -31,8 +31,8 @@ public final class QRCodeBlackBox4TestCase extends AbstractBlackBoxTestCase { super("test/data/blackbox/qrcode-4", new MultiFormatReader(), BarcodeFormat.QR_CODE); addTest(36, 36, 0.0f); addTest(35, 35, 90.0f); - addTest(35, 35, 180.0f); - addTest(35, 35, 270.0f); + addTest(35, 36, 180.0f); + addTest(35, 36, 270.0f); } } diff --git a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox5TestCase.java b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox5TestCase.java index 8ca49732e..ed629facd 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox5TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox5TestCase.java @@ -34,7 +34,7 @@ public final class QRCodeBlackBox5TestCase extends AbstractBlackBoxTestCase { addTest(19, 19, 0.0f); addTest(19, 19, 90.0f); addTest(19, 19, 180.0f); - addTest(18, 18, 270.0f); + addTest(18, 19, 270.0f); } } diff --git a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox6TestCase.java b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox6TestCase.java index a99780e7d..9eb9e1511 100644 --- a/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox6TestCase.java +++ b/core/test/src/com/google/zxing/qrcode/QRCodeBlackBox6TestCase.java @@ -29,9 +29,9 @@ public final class QRCodeBlackBox6TestCase extends AbstractBlackBoxTestCase { public QRCodeBlackBox6TestCase() { super("test/data/blackbox/qrcode-6", new MultiFormatReader(), BarcodeFormat.QR_CODE); addTest(15, 15, 0.0f); - addTest(14, 14, 90.0f); - addTest(12, 13, 180.0f); - addTest(14, 14, 270.0f); + addTest(14, 15, 90.0f); + addTest(12, 15, 180.0f); + addTest(14, 15, 270.0f); } }