Unit test data

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89019 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2012-04-09 11:26:35 +00:00
parent 2093d9274f
commit 954208b56d
7 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#nominal_rate npery Result
0.0525, 4, 0.053542667370758
0.10, 4, 0.103812890625
0.10, 2, 0.1025
0.025, 2, 0.02515625
1, 0, "#NUM!"

View File

@ -0,0 +1,9 @@
#rate nper pmt pv type Result
0.005, 10, -200, -500, 1, 2581.4033740601
0.01, 12, -1000, 12682.503013197
0.009166666667, 35, -2000, , 1, 82846.246372418
0.005, 12, -100, -1000, 1, 2301.4018303409
0.004166666667, 60, -1000, 68006.082841536
0.025, 16, -2000, 0, 1, 39729.460894166
0.1, 12, -100, 0, 2, "#NUM!"
0.0, 12, -100, -100, 1300

View File

@ -0,0 +1,4 @@
#principal schedule Result
1, {0.09|0.11|0.1}, 1.33089
10, {0.09;0.11;0.1}, 13.3089
10000, {0.05|0.05|0.035|0.035|0.035}, 12223.614571875

View File

@ -0,0 +1,6 @@
#Settlement Maturity Investment Redemption Basis Result
"2008-02-15", "2008-05-15", 1000000, 1014420, 2, 0.05768
"2005-04-01", "2010-03-31", 1000, 2125, 0.225
"2008-02-15", "2008-05-15", 1000000, 1014420, "ABC", "#VALUE!"
"2008-02-15", "2008-05-15", 1000000, -1014420, 2, "#NUM!"
"Invalid Date", "2008-05-15", 1000000, 1014420, 2, "#VALUE!"

View File

@ -0,0 +1,9 @@
#rate per nper pv fv type Result
0.008333333333, 3, 3, 8000, -22.406893015021
0.10, 3, 3, 8000, -292.44712990937
0.004166666667, 1, 60, 50000, -208.33333335
0.004166666667, 2, 60, 50000, -205.26988189617
0.00875, 1, 8, 10000, 5000, 1, 0.00
0.00875, 2, 8, 10000, 5000, 1, -70.968650395559
0.005, 2, 8, 2500, 200, 6, "#NUM!"
0.005, 8, 2, 2500, 200, 1, "#VALUE!"

View File

@ -0,0 +1,6 @@
#values guess Result
{-70000;12000;15000;18000;21000}, -0.021244848273410
{-70000;12000;15000;18000;21000;26000}, 0.08663094803652
{-70000;12000;15000;18000}, 0.10, -0.18213746414550
{-100;20|24|28.80}, -0.13618951095869
{-100;20|24|28.80|34.56|41.47}, 0.130575756371527

View File

@ -0,0 +1,5 @@
#rate per nper pv result
0.008333333333, 1, 36, 8000000, -64814.814812222
0.10, 1, 3, 8000000, -533333.33333333
0.004166666667, 1, 60, 50000, -204.8611111275
0.004166666667, 2, 60, 50000, -201.388888905