From 56fdd91f91f2b218de3b39cf5bf254ac9debfad6 Mon Sep 17 00:00:00 2001 From: Olivier Stasse <ostasse@laas.fr> Date: Wed, 15 Jan 2020 13:43:55 +0100 Subject: [PATCH] [tests] Fix style of signal-time-dependent --- tests/signal-time-dependent.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/signal-time-dependent.cpp b/tests/signal-time-dependent.cpp index ff41935..a273bcf 100644 --- a/tests/signal-time-dependent.cpp +++ b/tests/signal-time-dependent.cpp @@ -1,7 +1,7 @@ // Copyright 2010 Thomas Moulard. // -#include <iostream> #include <boost/foreach.hpp> +#include <iostream> #include <dynamic-graph/signal-time-dependent.h> #include <dynamic-graph/signal.h> @@ -210,13 +210,13 @@ BOOST_AUTO_TEST_CASE(signaltimedependent) { sig1.needUpdate(6); sig1.needUpdate(6); - output_test_stream output; + output_test_stream output; sig1.writeGraph(output); BOOST_CHECK(output.is_equal("")); - + sig1.removeDependency(sig3); BOOST_CHECK(true); - const double & avalue =sig1(6); + const double &avalue = sig1(6); output << avalue; BOOST_CHECK(true); /// Verify check compatibility @@ -224,8 +224,7 @@ BOOST_AUTO_TEST_CASE(signaltimedependent) { sig1.checkCompatibility(); } // catch(double e) - catch(...) - { + catch (...) { std::cout << "Message: test \n"; } BOOST_CHECK(true); -- GitLab