Пример #1
0
 /**
  * Test for capabilities (negate, rotate, etc)
  *
  * @return void
  */
 public function testCapabilities()
 {
     $picture = new Viewer\Picture($this->_conf, $this->_series->getFullPath() . 'tech.jpg', null);
     $negate = $picture->canNegate();
     $print = $picture->canPrint();
     $contrast = $picture->canContrast();
     $brigthness = $picture->canBrightness();
     $this->boolean($negate)->isTrue();
     $this->boolean($print)->isTrue();
     $this->boolean($contrast)->isTrue();
     $this->boolean($brigthness)->isTrue();
 }