| 21 | } |
| 22 | |
| 23 | static int pq_entry_equal(struct pq_entry *a, struct pq_entry *b) |
| 24 | { |
| 25 | int cmp; |
| 26 | cl_assert_equal_i(reftable_record_cmp(a->rec, b->rec, &cmp), 0); |
| 27 | return !cmp && (a->index == b->index); |
| 28 | } |
| 29 | |
| 30 | void test_reftable_pq__record(void) |
| 31 | { |