You can work in groups or individually. Fork the Cars repo and submit a Pull Request after you have finished.
-
(4 XP) Create
InvalidGearexception. It should be thrown when someone tries eg. change a gear from 5 to R. It should inherit from one of STL exceptions -
(2 XP per fix) Fix interfaces to be easy to use correctly and hard to use incorrectly (like
accelerate(-999)) - (10 XP - optional) Write a proper unit tests to this code
- Read one of below articles. It will be useful for the next lesson