Skip to main content
๐Ÿ“œ WAYPOINT LESSON

Checkpoint: Robustness

โญ beginnerโณ 15 min read๐Ÿ“ Lesson 51 of 204

One graded challenge: throw exactly where the contract breaks, and survive the boundary tests.

Checkpoint โ€” robustness. Pass the graded challenge below to finish the module.

The functions must throw std::invalid_argument/std::out_of_range on exactly the documented bad inputs โ€” the tests use CHECK_THROWS for those and normal checks for the good paths.