27 "[base][function_set_base]")
37 REQUIRE_NOTHROW( f_set.
add(dummy_f) );
39 SECTION(
"function_set_contains")
44 REQUIRE_FALSE( f_set.
contains(
"dummy2") );
47 SECTION(
"function_set_depends_on")
55 SECTION(
"function_set_get_existing_field_function")
62 SECTION(
"function_set_get_nonexistant_field_function_error")
This is a scalar function whose value can be changed and one that can be used as a design variable in...
void add(MAST::FunctionBase &f)
adds the function to this card and returns a reference to it.
bool contains(const std::string &nm) const
checks if the card contains the specified property value
provides a methods to store property values
const ValType & get(const std::string &nm) const
returns a constant reference to the specified function
virtual bool depends_on(const MAST::FunctionBase &f) const
returns true if the property card depends on the function f
TEST_CASE("function_set_base", "[base][function_set_base]")