Skip to content

Commit

Permalink
new test
Browse files Browse the repository at this point in the history
  • Loading branch information
rderoldan1 committed Mar 11, 2013
1 parent 17d4a56 commit c83fd63
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/test_payment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@
annuity_given_present(100000000, 0.0144594763, 180).should eq(1563975.1395)

end
end
end

describe "variable payment test" do
it "should be the monthly variable payment" do
variable_payment(10000000.0,40).should eq(250000)
end
end

0 comments on commit c83fd63

Please sign in to comment.