/**
  * @dataProvider getRGBColorsDataProvider
  *
  * @param integer $r
  * @param integer $g
  * @param integer $b
  */
 public function testDarker($r, $g, $b)
 {
     $c = new RGBColor($r, $g, $b);
     $clone = clone $c;
     $dc = $clone->darker();
     $ca = array($c->getRed(), $c->getGreen(), $c->getBlue(), $c->getAlpha());
     $dca = array($dc->getRed(), $dc->getGreen(), $dc->getBlue(), $dc->getAlpha());
     for ($x = 0; $x < count($dc); $x++) {
         $this->assertLessThanOrEqual($ca[$x], $dca[$x]);
     }
 }