mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-09 09:36:25 +00:00
a884013d00
* Fix Unintential Deprecated Calls in Tests - FINANCIAL I think it's best to install these before PR #3166. There are no changes to source code, only to doc-blocks and to test members which continue to inadvertently use calls to deprecated functions. * Change Tests to Run in Spreadsheet Context Found and fixed some problems with how MIRR handles errors.
22 lines
511 B
PHP
22 lines
511 B
PHP
<?php
|
|
|
|
namespace PhpOffice\PhpSpreadsheetTests\Calculation\Functions\Financial;
|
|
|
|
class TBillPriceTest extends AllSetupTeardown
|
|
{
|
|
/**
|
|
* @dataProvider providerTBILLPRICE
|
|
*
|
|
* @param mixed $expectedResult
|
|
*/
|
|
public function testTBILLPRICE($expectedResult, ...$args): void
|
|
{
|
|
$this->runTestCase('TBILLPRICE', $expectedResult, $args);
|
|
}
|
|
|
|
public function providerTBILLPRICE(): array
|
|
{
|
|
return require 'tests/data/Calculation/Financial/TBILLPRICE.php';
|
|
}
|
|
}
|