/** * @param String $bankdata * @param String $binary * @throws TestAPIException */ public function __construct($bankdata = null, $binary = null) { if (!is_null($bankdata)) { $this->bankdata = realpath($bankdata); } $this->binary = is_null($binary) ? self::BINARY : realpath($binary); parent::__construct(); $this->setName("ktoblzcheck"); }
/** * @param String $lutFile * @param int $lutVersion * @throws TestAPIException * @throws TestAPIUnavailableException */ public function __construct($lutFile = null, $lutVersion = null) { parent::__construct(); $this->setName("kc"); if (is_null($lutFile)) { $lutFile = __DIR__ . "/../../data/blz.lut2"; } if (is_null($lutVersion)) { $lutVersion = 2; } if (!lut_init($lutFile, $lutVersion)) { throw new TestAPIException("Could not initialize LUT."); } }
public function __construct() { parent::__construct(); $this->setName("bav"); }