/** * @return mixed */ public function render() { $result = new Number($this->getValue()); return $this->operand->render() . ' = ' . $result->render(); }
/** * @dataProvider values * * @param $number * @param $value * @param string $decPoint * @param string $thousandSeparator */ public function testGetValue($number, $value, $decPoint = '.', $thousandSeparator = ',') { $operand = new Number($number, $decPoint, $thousandSeparator); verify("number is treated correctly", $operand->getValue())->equals($value); codecept_debug($operand->getValue()); }