prepareWorksheetWithFormula('DSTDEV', $database, $field, $criteria); $result = $this->getSheet()->getCell(self::RESULT_CELL)->getCalculatedValue(); self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); } public function providerDStDev(): array { return [ [ 2.966479394838, $this->database1(), 'Yield', [ ['Tree'], ['=Apple'], ['=Pear'], ], ], [ 0.104403065089, $this->database3FilledIn(), 'Score', [ ['Subject', 'Gender'], ['English', 'Male'], ], ], [ 0.196723155729, $this->database3FilledIn(), 'Score', [ ['Subject', 'Age'], ['Math', '>8'], ], ], 'omitted field name' => [ ExcelError::VALUE(), $this->database1(), null, $this->database1(), ], ]; } }