]> git.99rst.org Git - git.git/commit
t-reftable-pq: add tests for merged_iter_pqueue_top()
authorChandra Pratap <redacted>
Thu, 1 Aug 2024 10:59:48 +0000 (16:29 +0530)
committerJunio C Hamano <redacted>
Thu, 1 Aug 2024 16:07:29 +0000 (09:07 -0700)
commit0dc84a806c53b02b465616d26efbca73682c58dd
tree992c2f588f195f6f96b70cdb4e0ac0362a688b60
parentc2f831cdfcc41e257380e3b3ca13423ada20fd59
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 <redacted>
Mentored-by: Christian Couder <redacted>
Signed-off-by: Chandra Pratap <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/unit-tests/t-reftable-pq.c
git clone https://git.99rst.org/PROJECT