Skip to content

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