public function TextDataTest::testVALUE in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Calculation/TextDataTest.php \TextDataTest::testVALUE()
@dataProvider providerVALUE
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Calculation/ TextDataTest.php, line 348
Class
Code
public function testVALUE() {
call_user_func(array(
'PHPExcel_Shared_String',
'setDecimalSeparator',
), '.');
call_user_func(array(
'PHPExcel_Shared_String',
'setThousandsSeparator',
), ' ');
call_user_func(array(
'PHPExcel_Shared_String',
'setCurrencyCode',
), '$');
$args = func_get_args();
$expectedResult = array_pop($args);
$result = call_user_func_array(array(
'PHPExcel_Calculation_TextData',
'VALUE',
), $args);
$this
->assertEquals($expectedResult, $result, NULL, 1.0E-8);
}