xref: /imagick/tests/253_getHdri.phpt (revision edb6f41a)
1--TEST--
2Test ImagickPixelIterator, construct
3--SKIPIF--
4<?php
5
6require_once(dirname(__FILE__) . '/skipif.inc');
7
8checkClassMethods('Imagick', array('getHDRIEnabled'));
9
10
11?>
12--FILE--
13<?php
14
15$enabled = Imagick::getHDRIEnabled();
16
17if ($enabled === true || $enabled === false) {
18    echo "Ok";
19}
20else {
21    echo "Unexpected value for Imagick::getHDRIEnabled:\n";
22    var_dump($enabled);
23}
24
25?>
26--EXPECTF--
27Ok