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