Skip to content

Commit

Permalink
Merge pull request bloominstituteoftechnology#296 from Antashma/update
Browse files Browse the repository at this point in the history
UPDATE task 3
  • Loading branch information
keirankozlowski authored Mar 8, 2022
2 parents 91b7e1d + 62d4d97 commit ce87cab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
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
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce87cab

Please sign in to comment.