mightHaveException($expectedResult); $sheet = $this->sheet; $sheet->setCellValue('A2', 1); $sheet->getCell('A1')->setValue("=TAN($formula)"); $result = $sheet->getCell('A1')->getCalculatedValue(); self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } public function providerTan() { return require 'tests/data/Calculation/MathTrig/TAN.php'; } }