runTestCase('OR', $expectedResult, ...$args); } public static function providerOR(): array { return require 'tests/data/Calculation/Logical/OR.php'; } /** * @dataProvider providerORLiteral */ public function testORLiteral(mixed $expectedResult, mixed $formula): void { $sheet = $this->getSheet(); $sheet->getCell('A1')->setValue("=OR($formula)"); self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } public static function providerORLiteral(): array { return require 'tests/data/Calculation/Logical/ORLiteral.php'; } }