Skip to content

Conversation

sg-0610
Copy link

@sg-0610 sg-0610 commented Oct 3, 2024

This pull request adds the RewardValue class to handle conversions between cash and miles. It includes:

  • A constructor for initializing with cash or miles.
  • Methods to get cash and miles values.
  • Unit tests to validate conversions from cash to miles and miles to cash.

Copy link
Author

@sg-0610 sg-0610 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created a pull request

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