๐ 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.