Readplace

:white_check_mark: Add test for $10000.00 loan amount · FagnerMartinsBrack/jack-the-moneylender@70cd0b1

GitHub 1 min read
View original
  • current

This article is too short to summarise.

Commit 70cd0b1

committed

✅ Add test for $10000.00 loan amount

1 file changed

Lines changed: 4 additions & 0 deletions

Lines changed: 4 additions & 0 deletions

Original file line numberDiff line numberDiff line change

@@ -72,4 +72,8 @@

7272

strictEqual({ expected: '$270.28', actual: interestToPayFor(Money('$5002.00')).toString() }, assert);

7373

});

7474
75+

QUnit.test('A loan of $10000.00 owes $970.00 interest', (assert) => {

76+

strictEqual({ expected: '$970.00', actual: interestToPayFor(Money('$10000.00')).toString() }, assert);

77+

});

78+
7579

</script>

0 commit comments

Comments

 (0)