Readplace

:red_circle: Add test for $10001.00 loan amount · FagnerMartinsBrack/jack-the-moneylender@c4e334b

GitHub 1 min read
View original
  • current

This article is too short to summarise.

Commit c4e334b

committed

🔴 Add test for $10001.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

@@ -76,4 +76,8 @@

7676

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

7777

});

7878
79+

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

80+

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

81+

});

82+
7983

</script>

0 commit comments

Comments

 (0)