mirror of
https://github.com/postgres/postgres.git
synced 2025-10-09 00:05:07 -04:00
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
13 lines
296 B
Plaintext
13 lines
296 B
Plaintext
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)
|
|
|