diff --git a/tests/value.cpp b/tests/value.cpp index 0386e019ee9379fe37cfa2598a52838a61aa27fb..8f132b0fe5620a976db4306013f710ed25ee2956 100644 --- a/tests/value.cpp +++ b/tests/value.cpp @@ -11,6 +11,19 @@ using boost::test_tools::output_test_stream; +BOOST_AUTO_TEST_CASE(value_none) { + using dynamicgraph::command::Value; + + Value value1(); + + { + output_test_stream output; + output << value1; + BOOST_CHECK(output.is_equal("1")); + } + +} + BOOST_AUTO_TEST_CASE(value_bool) { using dynamicgraph::command::Value;