Add a test harness for the binary heap code. master github/master
authorNathan Bossart <nathan@postgresql.org>
Thu, 17 Jul 2025 21:32:10 +0000 (16:32 -0500)
committerNathan Bossart <nathan@postgresql.org>
Thu, 17 Jul 2025 21:32:10 +0000 (16:32 -0500)
commitb597ae6cc128b17038d461c5aa426d42f9cc33f9
tree6818264c4685f3d8de39c2393b624f2a1829b9f5
parentdaf9bdc47d11822da8a1269bd73fb23258b24f80
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
src/test/modules/Makefile
src/test/modules/meson.build
src/test/modules/test_binaryheap/.gitignore [new file with mode: 0644]
src/test/modules/test_binaryheap/Makefile [new file with mode: 0644]
src/test/modules/test_binaryheap/expected/test_binaryheap.out [new file with mode: 0644]
src/test/modules/test_binaryheap/meson.build [new file with mode: 0644]
src/test/modules/test_binaryheap/sql/test_binaryheap.sql [new file with mode: 0644]
src/test/modules/test_binaryheap/test_binaryheap--1.0.sql [new file with mode: 0644]
src/test/modules/test_binaryheap/test_binaryheap.c [new file with mode: 0644]
src/test/modules/test_binaryheap/test_binaryheap.control [new file with mode: 0644]