summaryrefslogtreecommitdiff
path: root/src/test/modules/test_binaryheap/expected
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2025-07-17 16:32:10 -0500
committerNathan Bossart <nathan@postgresql.org>2025-07-17 16:32:10 -0500
commitb597ae6cc128b17038d461c5aa426d42f9cc33f9 (patch)
tree6818264c4685f3d8de39c2393b624f2a1829b9f5 /src/test/modules/test_binaryheap/expected
parentdaf9bdc47d11822da8a1269bd73fb23258b24f80 (diff)
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
Diffstat (limited to 'src/test/modules/test_binaryheap/expected')
-rw-r--r--src/test/modules/test_binaryheap/expected/test_binaryheap.out12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/modules/test_binaryheap/expected/test_binaryheap.out b/src/test/modules/test_binaryheap/expected/test_binaryheap.out
new file mode 100644
index 00000000000..16ce07875e3
--- /dev/null
+++ b/src/test/modules/test_binaryheap/expected/test_binaryheap.out
@@ -0,0 +1,12 @@
+CREATE EXTENSION test_binaryheap;
+--
+-- These tests don't produce any interesting output. We're checking that
+-- the operations complete without crashing or hanging and that none of their
+-- internal sanity tests fail.
+--
+SELECT test_binaryheap();
+ test_binaryheap
+-----------------
+
+(1 row)
+