| 786 | } |
| 787 | |
| 788 | static bool cv2_row(cv2_context_t *ctx, cv2_span_t input, size_t *position, bool test_row, |
| 789 | cv2_span_t fields[4]) { |
| 790 | cv2_span_t line; |
| 791 | return cv2_line(ctx, input, position, test_row, &line) && cv2_fields(ctx, line, fields); |
| 792 | } |
| 793 | |
| 794 | static bool cv2_literal(cv2_span_t span, const char *literal, size_t length) { |
| 795 | return span.length == length && memcmp(span.data, literal, length) == 0; |
no test coverage detected