Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request - Bohao LI #182

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

BoisAuLit
Copy link

Pull Request

Things added:

  • Unit tests

Things modified:

  • Split updateBenefitValue() method into several smaller methods
  • Use switch statement instead of a lot of if statements
  • drug.expiresIn = drug.expiresIn - 1 ====> drug.expiresIn-- (use -- instead of assignment)

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