From 4368fd792e63fd0034ba887593aedcbb3c2961b8 Mon Sep 17 00:00:00 2001 From: "Brady J. Garvin" <bgarvin@cse.unl.edu> Date: Mon, 7 Nov 2022 11:28:47 -0600 Subject: [PATCH] Patched test case to avoid tie-breaking dependency on floating-point inaccuracies. --- homework-3/src/currency.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homework-3/src/currency.test.js b/homework-3/src/currency.test.js index eb2f516..a34c012 100644 --- a/homework-3/src/currency.test.js +++ b/homework-3/src/currency.test.js @@ -147,7 +147,7 @@ describe('the `planTrades` function', () => { test('maximizes return on random forecast #4', () => { expect(planTrades( [ - [5, 5, 5], + [6, 5, 5], [4, 5, 6], [3, 5, 6], [4, 5, 7], -- GitLab