mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
a set of synthetic version 40 tests at each ECC level
git-svn-id: https://zxing.googlecode.com/svn/trunk@1539 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
d09cad7863
commit
b2cf605bc9
BIN
core/test/data/blackbox/qrcode-5/16.png
Normal file
BIN
core/test/data/blackbox/qrcode-5/16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5 KiB |
56
core/test/data/blackbox/qrcode-5/16.txt
Normal file
56
core/test/data/blackbox/qrcode-5/16.txt
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
THROUGH THE LOOKING-GLASS
|
||||||
|
|
||||||
|
By Lewis Carroll
|
||||||
|
|
||||||
|
|
||||||
|
CHAPTER I. Looking-Glass house
|
||||||
|
|
||||||
|
One thing was certain, that the WHITE kitten had had nothing to do with
|
||||||
|
it:--it was the black kitten's fault entirely. For the white kitten had
|
||||||
|
been having its face washed by the old cat for the last quarter of
|
||||||
|
an hour (and bearing it pretty well, considering); so you see that it
|
||||||
|
COULDN'T have had any hand in the mischief.
|
||||||
|
|
||||||
|
The way Dinah washed her children's faces was this: first she held the
|
||||||
|
poor thing down by its ear with one paw, and then with the other paw she
|
||||||
|
rubbed its face all over, the wrong way, beginning at the nose: and
|
||||||
|
just now, as I said, she was hard at work on the white kitten, which was
|
||||||
|
lying quite still and trying to purr--no doubt feeling that it was all
|
||||||
|
meant for its good.
|
||||||
|
|
||||||
|
But the black kitten had been finished with earlier in the afternoon,
|
||||||
|
and so, while Alice was sitting curled up in a corner of the great
|
||||||
|
arm-chair, half talking to herself and half asleep, the kitten had been
|
||||||
|
having a grand game of romps with the ball of worsted Alice had been
|
||||||
|
trying to wind up, and had been rolling it up and down till it had all
|
||||||
|
come undone again; and there it was, spread over the hearth-rug, all
|
||||||
|
knots and tangles, with the kitten running after its own tail in the
|
||||||
|
middle.
|
||||||
|
|
||||||
|
'Oh, you wicked little thing!' cried Alice, catching up the kitten, and
|
||||||
|
giving it a little kiss to make it understand that it was in disgrace.
|
||||||
|
'Really, Dinah ought to have taught you better manners! You OUGHT,
|
||||||
|
Dinah, you know you ought!' she added, looking reproachfully at the old
|
||||||
|
cat, and speaking in as cross a voice as she could manage--and then she
|
||||||
|
scrambled back into the arm-chair, taking the kitten and the worsted
|
||||||
|
with her, and began winding up the ball again. But she didn't get on
|
||||||
|
very fast, as she was talking all the time, sometimes to the kitten, and
|
||||||
|
sometimes to herself. Kitty sat very demurely on her knee, pretending to
|
||||||
|
watch the progress of the winding, and now and then putting out one
|
||||||
|
paw and gently touching the ball, as if it would be glad to help, if it
|
||||||
|
might.
|
||||||
|
|
||||||
|
'Do you know what to-morrow is, Kitty?' Alice began. 'You'd have guessed
|
||||||
|
if you'd been up in the window with me--only Dinah was making you tidy,
|
||||||
|
so you couldn't. I was watching the boys getting in sticks for the
|
||||||
|
bonfire--and it wants plenty of sticks, Kitty! Only it got so cold, and
|
||||||
|
it snowed so, they had to leave off. Never mind, Kitty, we'll go and
|
||||||
|
see the bonfire to-morrow.' Here Alice wound two or three turns of the
|
||||||
|
worsted round the kitten's neck, just to see how it would look: this led
|
||||||
|
to a scramble, in which the ball rolled down upon the floor, and yards
|
||||||
|
and yards of it got unwound again.
|
||||||
|
|
||||||
|
'Do you know, I was so angry, Kitty,' Alice went on as soon as they were
|
||||||
|
comfortably settled again, 'when I saw all the mischief you had been
|
||||||
|
doing, I was very nearly opening the window, and putting you out into
|
||||||
|
the snow! And you
|
BIN
core/test/data/blackbox/qrcode-5/17.png
Normal file
BIN
core/test/data/blackbox/qrcode-5/17.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5 KiB |
46
core/test/data/blackbox/qrcode-5/17.txt
Normal file
46
core/test/data/blackbox/qrcode-5/17.txt
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
THROUGH THE LOOKING-GLASS
|
||||||
|
|
||||||
|
By Lewis Carroll
|
||||||
|
|
||||||
|
|
||||||
|
CHAPTER I. Looking-Glass house
|
||||||
|
|
||||||
|
One thing was certain, that the WHITE kitten had had nothing to do with
|
||||||
|
it:--it was the black kitten's fault entirely. For the white kitten had
|
||||||
|
been having its face washed by the old cat for the last quarter of
|
||||||
|
an hour (and bearing it pretty well, considering); so you see that it
|
||||||
|
COULDN'T have had any hand in the mischief.
|
||||||
|
|
||||||
|
The way Dinah washed her children's faces was this: first she held the
|
||||||
|
poor thing down by its ear with one paw, and then with the other paw she
|
||||||
|
rubbed its face all over, the wrong way, beginning at the nose: and
|
||||||
|
just now, as I said, she was hard at work on the white kitten, which was
|
||||||
|
lying quite still and trying to purr--no doubt feeling that it was all
|
||||||
|
meant for its good.
|
||||||
|
|
||||||
|
But the black kitten had been finished with earlier in the afternoon,
|
||||||
|
and so, while Alice was sitting curled up in a corner of the great
|
||||||
|
arm-chair, half talking to herself and half asleep, the kitten had been
|
||||||
|
having a grand game of romps with the ball of worsted Alice had been
|
||||||
|
trying to wind up, and had been rolling it up and down till it had all
|
||||||
|
come undone again; and there it was, spread over the hearth-rug, all
|
||||||
|
knots and tangles, with the kitten running after its own tail in the
|
||||||
|
middle.
|
||||||
|
|
||||||
|
'Oh, you wicked little thing!' cried Alice, catching up the kitten, and
|
||||||
|
giving it a little kiss to make it understand that it was in disgrace.
|
||||||
|
'Really, Dinah ought to have taught you better manners! You OUGHT,
|
||||||
|
Dinah, you know you ought!' she added, looking reproachfully at the old
|
||||||
|
cat, and speaking in as cross a voice as she could manage--and then she
|
||||||
|
scrambled back into the arm-chair, taking the kitten and the worsted
|
||||||
|
with her, and began winding up the ball again. But she didn't get on
|
||||||
|
very fast, as she was talking all the time, sometimes to the kitten, and
|
||||||
|
sometimes to herself. Kitty sat very demurely on her knee, pretending to
|
||||||
|
watch the progress of the winding, and now and then putting out one
|
||||||
|
paw and gently touching the ball, as if it would be glad to help, if it
|
||||||
|
might.
|
||||||
|
|
||||||
|
'Do you know what to-morrow is, Kitty?' Alice began. 'You'd have guessed
|
||||||
|
if you'd been up in the window with me--only Dinah was making you tidy,
|
||||||
|
so you couldn't. I was watching the boys getting in sticks for the
|
||||||
|
bonfire--
|
BIN
core/test/data/blackbox/qrcode-5/18.png
Normal file
BIN
core/test/data/blackbox/qrcode-5/18.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5 KiB |
34
core/test/data/blackbox/qrcode-5/18.txt
Normal file
34
core/test/data/blackbox/qrcode-5/18.txt
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
THROUGH THE LOOKING-GLASS
|
||||||
|
|
||||||
|
By Lewis Carroll
|
||||||
|
|
||||||
|
|
||||||
|
CHAPTER I. Looking-Glass house
|
||||||
|
|
||||||
|
One thing was certain, that the WHITE kitten had had nothing to do with
|
||||||
|
it:--it was the black kitten's fault entirely. For the white kitten had
|
||||||
|
been having its face washed by the old cat for the last quarter of
|
||||||
|
an hour (and bearing it pretty well, considering); so you see that it
|
||||||
|
COULDN'T have had any hand in the mischief.
|
||||||
|
|
||||||
|
The way Dinah washed her children's faces was this: first she held the
|
||||||
|
poor thing down by its ear with one paw, and then with the other paw she
|
||||||
|
rubbed its face all over, the wrong way, beginning at the nose: and
|
||||||
|
just now, as I said, she was hard at work on the white kitten, which was
|
||||||
|
lying quite still and trying to purr--no doubt feeling that it was all
|
||||||
|
meant for its good.
|
||||||
|
|
||||||
|
But the black kitten had been finished with earlier in the afternoon,
|
||||||
|
and so, while Alice was sitting curled up in a corner of the great
|
||||||
|
arm-chair, half talking to herself and half asleep, the kitten had been
|
||||||
|
having a grand game of romps with the ball of worsted Alice had been
|
||||||
|
trying to wind up, and had been rolling it up and down till it had all
|
||||||
|
come undone again; and there it was, spread over the hearth-rug, all
|
||||||
|
knots and tangles, with the kitten running after its own tail in the
|
||||||
|
middle.
|
||||||
|
|
||||||
|
'Oh, you wicked little thing!' cried Alice, catching up the kitten, and
|
||||||
|
giving it a little kiss to make it understand that it was in disgrace.
|
||||||
|
'Really, Dinah ought to have taught you better manners! You OUGHT,
|
||||||
|
Dinah, you know you ought!' she added, looking reproachfully at the old
|
||||||
|
cat, and speaking in as cross a voice as she could manage--and then s
|
BIN
core/test/data/blackbox/qrcode-5/19.png
Normal file
BIN
core/test/data/blackbox/qrcode-5/19.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5 KiB |
27
core/test/data/blackbox/qrcode-5/19.txt
Normal file
27
core/test/data/blackbox/qrcode-5/19.txt
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
THROUGH THE LOOKING-GLASS
|
||||||
|
|
||||||
|
By Lewis Carroll
|
||||||
|
|
||||||
|
|
||||||
|
CHAPTER I. Looking-Glass house
|
||||||
|
|
||||||
|
One thing was certain, that the WHITE kitten had had nothing to do with
|
||||||
|
it:--it was the black kitten's fault entirely. For the white kitten had
|
||||||
|
been having its face washed by the old cat for the last quarter of
|
||||||
|
an hour (and bearing it pretty well, considering); so you see that it
|
||||||
|
COULDN'T have had any hand in the mischief.
|
||||||
|
|
||||||
|
The way Dinah washed her children's faces was this: first she held the
|
||||||
|
poor thing down by its ear with one paw, and then with the other paw she
|
||||||
|
rubbed its face all over, the wrong way, beginning at the nose: and
|
||||||
|
just now, as I said, she was hard at work on the white kitten, which was
|
||||||
|
lying quite still and trying to purr--no doubt feeling that it was all
|
||||||
|
meant for its good.
|
||||||
|
|
||||||
|
But the black kitten had been finished with earlier in the afternoon,
|
||||||
|
and so, while Alice was sitting curled up in a corner of the great
|
||||||
|
arm-chair, half talking to herself and half asleep, the kitten had been
|
||||||
|
having a grand game of romps with the ball of worsted Alice had been
|
||||||
|
trying to wind up, and had been rolling it up and down till it had all
|
||||||
|
come undone again; and there it was, spread over the hearth-rug, all
|
||||||
|
knots and tangles, with the kitten running aft
|
|
@ -31,10 +31,10 @@ public final class QRCodeBlackBox5TestCase extends AbstractBlackBoxTestCase {
|
||||||
|
|
||||||
public QRCodeBlackBox5TestCase() {
|
public QRCodeBlackBox5TestCase() {
|
||||||
super("test/data/blackbox/qrcode-5", new MultiFormatReader(), BarcodeFormat.QR_CODE);
|
super("test/data/blackbox/qrcode-5", new MultiFormatReader(), BarcodeFormat.QR_CODE);
|
||||||
addTest(15, 15, 0.0f);
|
addTest(19, 19, 0.0f);
|
||||||
addTest(15, 15, 90.0f);
|
addTest(19, 19, 90.0f);
|
||||||
addTest(15, 15, 180.0f);
|
addTest(18, 18, 180.0f);
|
||||||
addTest(15, 15, 270.0f);
|
addTest(18, 18, 270.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue