Ver Fonte

:octocat: add gradient example

codemasher há 4 anos atrás
pai
commit
efac020aaf
2 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      tests/QRCodeReaderTest.php
  2. BIN
      tests/qrcodes/example_svg.png

+ 1 - 0
tests/QRCodeReaderTest.php

@@ -55,6 +55,7 @@ class QRCodeReaderTest extends TestCase{
 			'smol'       => ['smol.png', 'https://smiley.codes/qrcode/'],
 			'smol'       => ['smol.png', 'https://smiley.codes/qrcode/'],
 			'tilted'     => ['tilted.png', 'Hello world!'], // tilted 22° CCW
 			'tilted'     => ['tilted.png', 'Hello world!'], // tilted 22° CCW
 			'rotated'    => ['rotated.png', 'Hello world!'], // rotated 90° CW
 			'rotated'    => ['rotated.png', 'Hello world!'], // rotated 90° CW
+			'gradient'   => ['example_svg.png', 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'], // color gradient (from svg example)
 		];
 		];
 	}
 	}
 
 

BIN
tests/qrcodes/example_svg.png