Commit 6441dda2 authored by Olivier Stasse's avatar Olivier Stasse Committed by olivier stasse

[tests] Improve value.cpp coverage.

parent e4103668
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment