Tests fixes, the library should compile now

This commit is contained in:
Pavel Kirienko
2015-07-08 23:33:41 +03:00
parent ece4cfc196
commit 88cf10d5a1
7 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ TEST(Node, Basic)
* Init the second node - network is empty
*/
ASSERT_LE(0, node2.start());
ASSERT_FALSE(node_status_monitor.findNodeWithWorstStatus().isValid());
ASSERT_FALSE(node_status_monitor.findNodeWithWorstHealth().isValid());
/*
* Init the first node
@@ -70,7 +70,7 @@ TEST(Node, Basic)
ASSERT_LE(0, node1.spin(uavcan::MonotonicDuration::fromMSec(2000)));
ASSERT_EQ(1, node_status_monitor.findNodeWithWorstStatus().get());
ASSERT_EQ(1, node_status_monitor.findNodeWithWorstHealth().get());
/*
* Some logging