X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libs%2Fheap%2Ftest%2Fbinomial_heap_test.cpp;h=05434e99ecd86a2ea24236e0257aef824d4350e6;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=50c0e17009821a4c5d10627b1006ce36352250a2;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/libs/heap/test/binomial_heap_test.cpp b/libs/heap/test/binomial_heap_test.cpp index 50c0e17..05434e9 100644 --- a/libs/heap/test/binomial_heap_test.cpp +++ b/libs/heap/test/binomial_heap_test.cpp @@ -1,3 +1,11 @@ +/*============================================================================= + Copyright (c) 2010 Tim Blechmann + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +=============================================================================*/ + #define BOOST_TEST_MAIN #include @@ -45,4 +53,20 @@ BOOST_AUTO_TEST_CASE( binomial_heap_test ) run_binomial_heap_test(); run_binomial_heap_test(); run_binomial_heap_test(); + + RUN_EMPLACE_TEST(binomial_heap); +} + +BOOST_AUTO_TEST_CASE( binomial_heap_compare_lookup_test ) +{ + typedef boost::heap::binomial_heap, + boost::heap::allocator > > pri_queue; + run_common_heap_tests(); +} + +BOOST_AUTO_TEST_CASE( binomial_heap_leak_test ) +{ + typedef boost::heap::binomial_heap > pri_queue; + run_leak_check_test(); }