You are here

public function DateTimeTest::testMONTH in Loft Data Grids 6.2

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

@dataProvider providerMONTH

File

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

Class

DateTimeTest

Code

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