]> granicus.if.org Git - postgresql/commit
Add a test harness for the red-black tree code.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Sep 2017 17:26:46 +0000 (13:26 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Sep 2017 17:26:46 +0000 (13:26 -0400)
commit610bbdd8acfcbeedad1176188f53ce5c7905e280
tree92d549bfceeba1e9010f4ab9cd73bb06cdaf12b6
parentf80e782a6b4dcdea78f053f1505fff316f3a3289
Add a test harness for the red-black tree code.

This improves the regression tests' coverage of rbtree.c from pretty
awful (because some of the functions aren't used yet) to basically 100%.

Victor Drobny, reviewed by Aleksander Alekseev and myself

Discussion: https://postgr.es/m/c9d61310e16e75f8acaf6cb1c48b7b77@postgrespro.ru
src/test/modules/Makefile
src/test/modules/test_rbtree/.gitignore [new file with mode: 0644]
src/test/modules/test_rbtree/Makefile [new file with mode: 0644]
src/test/modules/test_rbtree/README [new file with mode: 0644]
src/test/modules/test_rbtree/expected/test_rbtree.out [new file with mode: 0644]
src/test/modules/test_rbtree/sql/test_rbtree.sql [new file with mode: 0644]
src/test/modules/test_rbtree/test_rbtree--1.0.sql [new file with mode: 0644]
src/test/modules/test_rbtree/test_rbtree.c [new file with mode: 0644]
src/test/modules/test_rbtree/test_rbtree.control [new file with mode: 0644]