mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-31 04:28:51 +00:00
5a9055ca6a
Fix all of Statistical. We can now use Level 10 going forward.
28 lines
760 B
PHP
28 lines
760 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Statistical;
|
|
|
|
use PHPUnit\Framework\Attributes\DataProvider;
|
|
|
|
class SteyxTest extends AllSetupTeardown
|
|
{
|
|
/**
|
|
* @param mixed[] $xargs
|
|
* @param mixed[] $yargs
|
|
*/
|
|
#[DataProvider('providerSTEYX')]
|
|
public function testSTEYX(mixed $expectedResult, array $xargs, array $yargs): void
|
|
{
|
|
//$result = Statistical\Trends::STEYX($xargs, $yargs);
|
|
//self::assertEqualsWithDelta($expectedResult, $result, 1E-12);
|
|
$this->runTestCaseReference('STEYX', $expectedResult, $xargs, $yargs);
|
|
}
|
|
|
|
public static function providerSTEYX(): array
|
|
{
|
|
return require 'tests/data/Calculation/Statistical/STEYX.php';
|
|
}
|
|
}
|