Add selftests for fibonacci_heap
authorMartin Liska <mliska@suse.cz>
Wed, 20 Jul 2016 07:01:48 +0000 (09:01 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 20 Jul 2016 07:01:48 +0000 (07:01 +0000)
commitba1a7a0f859c5c3e2998a89a0b9f78198f328a94
tree6f8272b27e014a60a465f02ef3c0745201f328c1
parentdcbdb17aebb7fac8b3e455774728c044dd711e37
Add selftests for fibonacci_heap

* Makefile.in: Include fibonacci_heap.c
* fibonacci_heap.c: New file.
* fibonacci_heap.h (fibonacci_heap::insert): Use insert_node.
(fibonacci_heap::union_with): Fix deletion of the second heap.
* selftest-run-tests.c (selftest::run_tests): Incorporate
fibonacci heap tests.
* selftest.h: Declare fibonacci_heap_c_tests.

From-SVN: r238509
gcc/ChangeLog
gcc/Makefile.in
gcc/fibonacci_heap.c [new file with mode: 0644]
gcc/fibonacci_heap.h
gcc/selftest-run-tests.c
gcc/selftest.h