From 6273278dbbacb3044240953047abdd0b78c960ce Mon Sep 17 00:00:00 2001 From: Samantha Goodman Date: Mon, 7 Mar 2022 12:32:49 -0500 Subject: [PATCH 1/3] update broken link in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From b69ee415f4af69f99b4d35337a33cb6405bfa487 Mon Sep 17 00:00:00 2001 From: Samantha Goodman Date: Mon, 7 Mar 2022 15:38:49 -0500 Subject: [PATCH 2/3] 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', ()=>{ From 62d4d971af71c2a86c5c814fdad9b6179cf47d88 Mon Sep 17 00:00:00 2001 From: Samantha Goodman Date: Mon, 7 Mar 2022 15:44:42 -0500 Subject: [PATCH 3/3] updated task 3 instruction to highlight note about decimal places --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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