🔧 fixes for #45

This commit is contained in:
codemasher
2020-04-12 08:59:53 +02:00
parent 1d9b1e1202
commit abb7ce7831
4 changed files with 79 additions and 77 deletions
+2 -3
View File
@@ -21,10 +21,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());
}
}