diff options
| author | Chandra Pratap <chandrapratap3519@gmail.com> | 2024-08-01 16:29:48 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-01 09:07:29 -0700 |
| commit | 0dc84a806c53b02b465616d26efbca73682c58dd (patch) | |
| tree | 992c2f588f195f6f96b70cdb4e0ac0362a688b60 /t/unit-tests/t-prio-queue.c | |
| parent | c2f831cdfcc41e257380e3b3ca13423ada20fd59 (diff) | |
t-reftable-pq: add tests for merged_iter_pqueue_top()
merged_iter_pqueue_top() as defined by reftable/pq.{c, h} returns
the element at the top of a priority-queue's heap without removing
it. Since there are no tests for this function in the existing
setup, add tests for the same.
Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-prio-queue.c')
0 files changed, 0 insertions, 0 deletions
