public function DateTimeTest::testWEEKDAY in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Calculation/DateTimeTest.php \DateTimeTest::testWEEKDAY()
@dataProvider providerWEEKDAY
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Calculation/ DateTimeTest.php, line 161
Class
Code
public function testWEEKDAY() {
$args = func_get_args();
$expectedResult = array_pop($args);
$result = call_user_func_array(array(
'PHPExcel_Calculation_DateTime',
'DAYOFWEEK',
), $args);
$this
->assertEquals($expectedResult, $result, NULL, 1.0E-8);
}