diff --git a/README.md b/README.md index 01563befb..aff545546 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ After you have completed the requirements, try any of the following challenges. ## Submission format -Please submit your project via codegrade by following [these instructions](https://notion.so.bloomtech.BloomTech-Git-Flow-Step-by-step-269f68ae3bf64eb689a8328715a179f9) See part 2, submitting an assignment with codegrade +Please submit your project via codegrade by following [these instructions](https://bloomtech.notion.site/bloomtech/BloomTech-Git-Flow-Step-by-step-269f68ae3bf64eb689a8328715a179f9) See part 2, submitting an assignment with codegrade ## Resources 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', ()=>{ diff --git a/index.js b/index.js index 47872f164..9afb1fbac 100644 --- a/index.js +++ b/index.js @@ -89,7 +89,7 @@ function dogYears(/*add your code here*/){ /* Use the hungryDog function and feeding requirements below to do the following: 1. Invoke the hungryDog function below and pass it a weight value in pounds, followed by an age value in years -2. note: if the dog is a puppy, the age will be a decimal. For example: three months = 3/12 or .25 +2. 🌟 NOTE: if the dog is a puppy, the age will be a decimal (rounded to two places). For example: 3 months = .25 (3 divided by 12) 3. Do the proper calculations and return the number of pounds of raw food to feed the dog/puppy in a day REMEMBER: This program should handle correctly adult AND puppy ages and weights