mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-03 14:10:27 +00:00
23 lines
534 B
PHP
23 lines
534 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Financial;
|
|
|
|
use PHPUnit\Framework\Attributes\DataProvider;
|
|
|
|
class PmtTest extends AllSetupTeardown
|
|
{
|
|
/** @param mixed[] $args */
|
|
#[DataProvider('providerPMT')]
|
|
public function testPMT(mixed $expectedResult, array $args): void
|
|
{
|
|
$this->runTestCase('PMT', $expectedResult, $args);
|
|
}
|
|
|
|
public static function providerPMT(): array
|
|
{
|
|
return require 'tests/data/Calculation/Financial/PMT.php';
|
|
}
|
|
}
|