mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-25 05:57:54 +00:00
🔧 fixes for #45
This commit is contained in:
@@ -23,9 +23,9 @@ class MaskPatternTesterTest extends QRTestAbstract{
|
||||
|
||||
// coverage
|
||||
public function testMaskpattern(){
|
||||
$matrix = (new Byte(new QROptions(['version' => 10]), 'test'))->initMatrix(0, true);
|
||||
$matrix = (new Byte(new QROptions(['version' => 10]), 'test'))->initMatrix(3, true);
|
||||
|
||||
$this->assertSame(6178, (new MaskPatternTester($matrix))->testPattern());
|
||||
$this->assertSame(4243, (new MaskPatternTester($matrix))->testPattern());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user