# Strategy Pattern Example
You are going to implement an application for a very simple journey planner.
Given a mode of transport and the total distance to travel, return the duration of the journey.
| | Walk | Bike | Car |
| ---- | ---- | ------- | -------- |
| Pace | 3mph | 10mph | 30mph |
1. Make the test cases past to the best of your current knowledge
2. Implement the strategy pattern
## Test Case 1
Given the mode is walking
When the total distance entered is 60 miles
Then the result should be 20 hrs
## Test Case 2
Given the mode is cycling
When the total distance entered is 60 miles
Then the result should be 6 hrs
## Test Case 3
Given the mode is driving
When the total distance entered is 60 miles
Then the result should be 2 hrs