A test that courts apply to determine the constitutionality of statutes that classify people by type (such as race or national origin) in ways that affect fundamental rights, in which the government has the burden of proving that there is a compelling state interest served by the classification and that the classification is the only way of achieving that purpose