From e0593c0ad15294c1d814d5a566a2bc8614b5256b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Berg=C3=A9?= <corentin.berge@outlook.fr>
Date: Mon, 29 Jul 2019 09:46:45 +0200
Subject: [PATCH] Increase the coverage
 (include/dynamic-graph/time-dependency.h -> 100%)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Bergé <corentin.berge@outlook.fr>
---
 tests/signal-time-dependent.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/signal-time-dependent.cpp b/tests/signal-time-dependent.cpp
index e186960a..2f9efd7c 100644
--- a/tests/signal-time-dependent.cpp
+++ b/tests/signal-time-dependent.cpp
@@ -121,6 +121,9 @@ BOOST_AUTO_TEST_CASE (signaltimedependent)
   sig5.setDependencyType (dynamicgraph::TimeDependency<int>::ALWAYS_READY);
   sig6.setDependencyType (dynamicgraph::TimeDependency<int>::BOOL_DEPENDENT);
 
+  sig5.setPeriodTime(3);
+  assert(sig5.getPeriodTime() == 3);
+
   sig6.setReady();
 
   {
-- 
GitLab