Skip to content

Conversation

@AmirDahmouni
Copy link

@AmirDahmouni AmirDahmouni commented Apr 10, 2022

Changelog :

-implement updateDrug method inside the drug class replace the nested if conditions with simple swicth/case to reduce complexity ( we could add new drug without reread all the previous code )
-implement increment and decrement benefit with conditions to assure that every benefit in interval 0-50
-add unit test for each drug

Instructions

-run npm install before start for testing
-run npm test
-run node index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant