Exemplo n.º 1
0
 /**
  * @test
  * @dataProvider pixelLimitProvider
  */
 public function testFilterPixelLimit($w, $h, $limit)
 {
     parent::testFilterPixelLimit($w, $h, $limit);
     $pxl = $this->pixelLimit($w, $h, $limit, $this->ratio($w, $h));
     list($tw, $th) = getimagesize($this->writeTestImage($this->driver));
     $this->assertSame(array_values($pxl), [$tw, $th]);
 }