Example #1
0
 /**
  * @covers Image\Canvas::imageIsTrueColor
  */
 public function testImageIsTrueColor()
 {
     $this->assertNotEmpty($this->object->openImage(dirname(__FILE__) . '/../image.gif'));
     $this->assertEquals($this->object->imageIsTrueColor(), false);
     $this->assertNotEmpty($this->object->openImage(dirname(__FILE__) . '/../image.jpg'));
     $this->assertEquals($this->object->imageIsTrueColor(), true);
 }