Skip to content

Commit

Permalink
update test to not use 3 decimal places for answers
Browse files Browse the repository at this point in the history
  • Loading branch information
Antashma committed Mar 7, 2022
1 parent 6273278 commit b69ee41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codegrade_mvp.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', ()=>{
Expand Down

0 comments on commit b69ee41

Please sign in to comment.