Files
2025-05-12 22:59:34 -07:00

23 lines
540 B
PHP

<?php
declare(strict_types=1);
namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Financial;
use PHPUnit\Framework\Attributes\DataProvider;
class PpmtTest extends AllSetupTeardown
{
/** @param mixed[] $args */
#[DataProvider('providerPPMT')]
public function testPPMT(mixed $expectedResult, array $args): void
{
$this->runTestCase('PPMT', $expectedResult, $args);
}
public static function providerPPMT(): array
{
return require 'tests/data/Calculation/Financial/PPMT.php';
}
}