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