mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-03-01 09:47:01 +08:00
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
This commit is contained in:
8
src/test/modules/test_binaryheap/sql/test_binaryheap.sql
Normal file
8
src/test/modules/test_binaryheap/sql/test_binaryheap.sql
Normal file
@ -0,0 +1,8 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user