You are here

public function DateTimeTest::testYEARFRAC in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php \DateTimeTest::testYEARFRAC()

@dataProvider providerYEARFRAC

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php, line 453

Class

DateTimeTest

Code

public function testYEARFRAC() {
  $args = func_get_args();
  $expectedResult = array_pop($args);
  $result = call_user_func_array(array(
    'PHPExcel_Calculation_DateTime',
    'YEARFRAC',
  ), $args);
  $this
    ->assertEquals($expectedResult, $result, NULL, 1.0E-8);
}