Set Sail ;TLDR
Challenge
Identify a new method for Ship
using the above user story. Implement that method in a test-driven manner, thinking about the property Ship
already has, how this method might modify that property and what you would test for.
To complete this challenge, you will need to:
- Discuss with your classmates how the domain model for Ship might be added to with the above user story.
- Create a new test spec for the user story.
- Write the code that makes this test pass.
- Add, commit with a meaningful message, and push to GitHub.