Readplace

:white_check_mark: Add test for $5000.00 loan amount · FagnerMartinsBrack/jack-the-moneylender@0b988d4

GitHub 1 min read
View original
  • current

This article is too short to summarise.

Commit 0b988d4

committed

✅ Add test for $5000.00 loan amount

1 file changed

Lines changed: 5 additions & 0 deletions

Lines changed: 5 additions & 0 deletions

Original file line numberDiff line numberDiff line change

@@ -50,4 +50,9 @@

5050

QUnit.test('$2003.00 Loan Amount', (assert) => {

5151

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

5252

});

53+
54+
55+

QUnit.test('$5000.00 Loan Amount', (assert) => {

56+

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

57+

});

5358

</script>

0 commit comments

Comments

 (0)