7 #define BOOST_TEST_DYN_LINK
8 #define BOOST_TEST_MODULE "Test module for heat-conduction related proto operations"
10 #include <boost/test/unit_test.hpp>
31 BOOST_AUTO_TEST_SUITE( MeshDeletion )
40 const Real height = 2.;
41 const Uint x_segments = 25;
42 const Uint y_segments = 10;
50 BOOST_CHECK(
is_null(mesh) ==
false);
53 BOOST_CHECK(
is_null(mesh) ==
true);
58 BOOST_CHECK(
is_null(mesh) ==
false);
61 BOOST_CHECK(
is_null(mesh) ==
true);
79 BOOST_AUTO_TEST_SUITE_END()
bool is_null(T ptr)
predicate for comparison to nullptr
BOOST_AUTO_TEST_CASE(DeleteMesh)
Basic Classes for Mesh applications used by COOLFluiD.
Top-level namespace for coolfluid.
common::Component & root() const
Gives the default root component.
common::EventHandler & event_handler() const
common::Environment & environment() const
boost::shared_ptr< Component > remove_component(const std::string &name)
Remove a (sub)component of this component.
unsigned int Uint
typedef for unsigned int
void raise_event(const std::string &ename, SignalArgs &args)
raises an event and dispatches immedietly to all listeners
Base class for defining CF components.
void set(const std::string &pname, const boost::any &val)
Handle< Component > create_component(const std::string &name, const std::string &builder)
Build a (sub)component of this component using the extended type_name of the component.
Most basic kernel library.