The past several days have tested the American system of government in ways few living generations have experienced.