:octocat: reader test: add damaged version sample

This commit is contained in:
smiley
2022-07-26 17:13:16 +02:00
parent 4258966a8d
commit 4aa66dd574
2 changed files with 2 additions and 0 deletions
+2
View File
@@ -56,6 +56,8 @@ abstract class QRCodeReaderTestAbstract extends TestCase{
'kanji' => ['kanji.png', '茗荷茗荷茗荷茗荷', false],
// covers most of ReedSolomonDecoder
'damaged' => ['damaged.png', 'https://smiley.codes/qrcode/', false],
// covers attempt to read 2nd (bottom left) version info
'version2' => ['damaged_version.png', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ', false],
// covers Binarizer::getHistogramBlackMatrix()
'smol' => ['smol.png', 'https://smiley.codes/qrcode/', false],
// tilted 22° CCW