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.
23 lines
609 B
PHP
23 lines
609 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Statistical;
|
|
|
|
use PHPUnit\Framework\Attributes\DataProvider;
|
|
|
|
class TrimMeanTest extends AllSetupTeardown
|
|
{
|
|
/** @param mixed[] $args */
|
|
#[DataProvider('providerTRIMMEAN')]
|
|
public function testTRIMMEAN(mixed $expectedResult, array $args, mixed $percentage): void
|
|
{
|
|
$this->runTestCaseReference('TRIMMEAN', $expectedResult, $args, $percentage);
|
|
}
|
|
|
|
public static function providerTRIMMEAN(): array
|
|
{
|
|
return require 'tests/data/Calculation/Statistical/TRIMMEAN.php';
|
|
}
|
|
}
|