public function testPngBlue() { $original = $this->getOriginalImage(ImageType::PNG); $res = $this->applyFilter(new ImageFilterColorize(ColorFactory::blue()), $original, __METHOD__); $this->assertColorQ1($res, 'ff00ff'); $this->assertColorQ2($res, '00ffff'); $this->assertColorQ3($res, self::BLUE); // unchanged $this->assertColorQ4($res, self::WHITE); }
public function testBlue() { $this->assertColor(ColorFactory::blue(), "0000ff"); }