mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-28 19:19:27 +00:00
41c8a4f1b4
* Additional unit tests for previously untested financial functions, and some additions to follow untested paths * Start splitting Financial function tests out from the large FinancialTests class into individual test classes for each function
27 lines
523 B
PHP
27 lines
523 B
PHP
<?php
|
|
|
|
// Cost, Date purchased, End of the 1st period, Salvage, Period, Depreciation, Basis, Result
|
|
|
|
return [
|
|
[
|
|
776,
|
|
2400, '2008-08-19', '2008-12-31', 300, 1, 0.15, 1,
|
|
],
|
|
[
|
|
42,
|
|
150, '2011-01-01', '2011-09-30', 20, 1, 0.2, 4,
|
|
],
|
|
[
|
|
25,
|
|
150, '2011-01-01', '2011-09-30', 20, 2, 0.2, 4,
|
|
],
|
|
[
|
|
16,
|
|
150, '2011-01-01', '2011-09-30', 20, 3, 0.15, 4,
|
|
],
|
|
[
|
|
42,
|
|
150, '2011-01-01', '2011-09-30', 20, 1, 0.4, 4,
|
|
],
|
|
];
|