Skip to content

Toll-calculator update suggestion #84

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

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

Conversation

Oscarbernt
Copy link

Hey!

Heres my little update to the toll-calculator.

I tried simplifying and separating some of the logic of the calculator to make it easier to read and navigate.
I've added a project with unit tests to make sure that the application performs it's expected tasks even after further changes.

An assumtion I have while doing the changes was - The description of "Weekends and holidays are fee-free" I assumed to be bank holidays.

I've left some comments around the solution, which i wouldn't have if this was not a basis for discussion.

Kind regards
Oscar Berntsson

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