Practice ยท 2 of 2
Edge-Case Sweep
Implement clamp(value, low, high) returning value bounded into [low, high]. Write TestClamp with subTest sweeping: below range, above range, at each boundary, and equal low==high. Assign to SUITE_TEST.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: subTest Drills