Skip to content

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