Two Panels, One Rule
Figure 1 — The direction of the sign change decides the type. A zero of with no sign change produces neither a maximum nor a minimum.
Both implications run in one direction only, and the direction matters. A sign change guarantees the extremum. An extremum at a critical point guarantees the sign change, but only when is differentiable on both sides. The test never claims that every zero of is a turning point, because has and no turning point at all.