Add a test harness for the binary heap code.

Nathan Bossart <nathan@postgresql.org>

Commit: b597ae6cc128b17038d461c5aa426d42f9cc33f9
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2025-07-17T21:32:10Z
Add a test harness for the binary heap code.

binaryheap is heavily used and already has decent test coverage,
but it lacks dedicated tests for its correctness.  This commit
changes that.

Author: Aleksander Alekseev <aleksander@tigerdata.com>
Discussion: https://postgr.es/m/CAJ7c6TMwp%2Bmb8MMoi%3DSMVMso2hYecoVu2Pwf2EOkesq0MiSKxw%40mail.gmail.com

Files

Discussion