From 199a75feb701b89f2c4dd947e38909b3d85e3e07 Mon Sep 17 00:00:00 2001
From: "Brady J. Garvin" <bgarvin@cse.unl.edu>
Date: Wed, 26 Oct 2022 09:51:08 -0500
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