🔧 fixes for #45

This commit is contained in:
codemasher
2020-04-12 10:04:33 +02:00
parent 39ba9975ce
commit 00103824c3
4 changed files with 80 additions and 75 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)->setMatrix($matrix)->testPattern());
$this->assertSame(4243, (new MaskPatternTester)->setMatrix($matrix)->testPattern());
}