From b69ee415f4af69f99b4d35337a33cb6405bfa487 Mon Sep 17 00:00:00 2001 From: Samantha Goodman Date: Mon, 7 Mar 2022 15:38:49 -0500 Subject: [PATCH] update test to not use 3 decimal places for answers --- codegrade_mvp.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codegrade_mvp.test.js b/codegrade_mvp.test.js index 612522946..30de7f245 100644 --- a/codegrade_mvp.test.js +++ b/codegrade_mvp.test.js @@ -35,10 +35,10 @@ describe('hungryDogFunction', ()=>{ expect(functions.hungryDog(20, 0.2)).toBe(2); }) it('Dog is 4-7 months', ()=>{ - expect(functions.hungryDog(16, 0.33)).toBe(1.6); + expect(functions.hungryDog(16, 0.5)).toBe(0.8); }) it('Dog is +7 months', ()=>{ - expect(functions.hungryDog(4, 0.583)).toBe(0.16); + expect(functions.hungryDog(4, 0.75)).toBe(0.16); }) }); describe('gameFunction', ()=>{