With lots of int comparisons close together, this makes the error messages much clearer and saves having to manually match up line numbers. Also make every @test just throw Exception PiperOrigin-RevId: 276079806