Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.2 KB

File metadata and controls

17 lines (11 loc) · 1.2 KB

Post-work


Post-work

You can work in groups or individually. Fork the Cars repo and submit a Pull Request after you have finished.

  1. (4 XP) Create InvalidGear exception. It should be thrown when someone tries eg. change a gear from 5 to R. It should inherit from one of STL exceptions
  2. (2 XP per fix) Fix interfaces to be easy to use correctly and hard to use incorrectly (like accelerate(-999))
  3. (10 XP - optional) Write a proper unit tests to this code
  4. Read one of below articles. It will be useful for the next lesson