public function MathTrigTest::testMROUND in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Calculation/MathTrigTest.php \MathTrigTest::testMROUND()
@dataProvider providerMROUND
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Calculation/ MathTrigTest.php, line 327
Class
Code
public function testMROUND() {
$args = func_get_args();
$expectedResult = array_pop($args);
PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE);
$result = call_user_func_array(array(
'PHPExcel_Calculation_MathTrig',
'MROUND',
), $args);
PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_ARRAY);
$this
->assertEquals($expectedResult, $result, NULL, 1.0E-12);
}