4 endpoint tests for global extrema on the AP Calculus exam