fix(test): adjust comment formatting for clarity in computeEstimate tests
This commit is contained in:
@@ -544,7 +544,7 @@
|
||||
const r = computeEstimate(14_328_501, 25_000_000, 247, 4520);
|
||||
if (r.remaining !== 10_671_499) throw new Error('remaining');
|
||||
if (r.trainsToGo !== 43_205) throw new Error('trainsToGo');
|
||||
if (r.days !== 2_361) throw new Error('days'); // 10_671_499 / 4_520 = 2360.95... → ceil = 2361
|
||||
if (r.days !== 2_361) throw new Error('days'); // 10_671_499 / 4_520 = 2360.95... → ceil = 2361
|
||||
});
|
||||
t('computeEstimate reached', function () {
|
||||
const r = computeEstimate(25_000_000, 25_000_000, 247, 4520);
|
||||
|
||||
Reference in New Issue
Block a user