🔧 fixes for #45

This commit is contained in:
codemasher
2020-04-12 09:38:35 +02:00
parent 5f6cbb5fd9
commit bf0382aaf2
5 changed files with 80 additions and 77 deletions
+2 -2
View File
@@ -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());
}