Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
dynamic-graph
Commits
56fdd91f
Commit
56fdd91f
authored
Jan 15, 2020
by
Olivier Stasse
Committed by
olivier stasse
Jan 16, 2020
Browse files
[tests] Fix style of signal-time-dependent
parent
7cd502cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/signal-time-dependent.cpp
View file @
56fdd91f
// 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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment