#include "boost/test/unit_test.hpp"
#include <ostream>
#include <string>
#include "cetlib/value_ptr.h"
Go to the source code of this file.
BOOST_AUTO_TEST_CASE |
( |
nullptr_test |
| ) |
|
Definition at line 45 of file value_ptr_test.cc.
49 BOOST_TEST(p ==
nullptr);
50 BOOST_TEST(
nullptr == p);
BOOST_AUTO_TEST_CASE |
( |
basic_test |
| ) |
|
Definition at line 53 of file value_ptr_test.cc.
56 BOOST_TEST(static_cast<bool>(
p));
59 int* p_addr =
p.get();
63 BOOST_TEST(p_addr != q.get());
67 BOOST_TEST(p_addr !=
p.get());
BOOST_AUTO_TEST_CASE |
( |
compile_failure_test |
| ) |
|
BOOST_AUTO_TEST_CASE |
( |
polymorphism_test |
| ) |
|