- assert (case_get_value_cnt (c) >= n_widths);
- expensive_assert (caseproto_equal (case_get_proto (c), 0,
- writer->proto, 0, n_widths));
+ assert (case_get_n_values (c) >= n_widths);
+ expensive_assert (caseproto_range_equal (case_get_proto (c), 0,
+ writer->proto, 0, n_widths));