assertEquals($expectedResult, $result); } public function providerHLOOKUP() { return require 'data/Calculation/LookupRef/HLOOKUP.php'; } /** * @dataProvider providerVLOOKUP * @group fail19 * * @param mixed $expectedResult */ public function testVLOOKUP($expectedResult, ...$args) { $result = LookupRef::VLOOKUP(...$args); $this->assertEquals($expectedResult, $result); } public function providerVLOOKUP() { return require 'data/Calculation/LookupRef/VLOOKUP.php'; } /** * @dataProvider providerMATCH * @group fail19 * * @param mixed $expectedResult */ public function testMATCH($expectedResult, ...$args) { $result = LookupRef::MATCH(...$args); $this->assertEquals($expectedResult, $result); } public function providerMATCH() { return require 'data/Calculation/LookupRef/MATCH.php'; } }