Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: Rectangle add tests

  • Take the rectangle solution.
  • Move the "business logic" (the computation) to one or more functions.
  • Write tests to verify the functions.