Skip to content

Commit 9f10791

Browse files
committed
Fixup realtime stuff
1 parent 42cf147 commit 9f10791

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

tests/test_control_mode.cpp

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,20 @@ TEST(control_mode, is_control_mode_realtime_with_realtime_control_modes)
3939
{
4040
for (unsigned int i = 0; i < comm::ControlModeTypes::REALTIME_CONTROL_MODES.size(); ++i)
4141
{
42-
EXPECT_TRUE(comm::ControlModeTypes::is_control_mode_realtime(comm::ControlModeTypes::REALTIME_CONTROL_MODES[i]));
42+
EXPECT_TRUE(comm::ControlModeTypes::isControlModeRealtime(comm::ControlModeTypes::REALTIME_CONTROL_MODES[i]));
4343
}
4444
}
4545

4646
TEST(control_mode, is_control_mode_realtime_with_non_realtime_control_modes)
4747
{
4848
for (unsigned int i = 0; i < comm::ControlModeTypes::NON_REALTIME_CONTROL_MODES.size(); ++i)
4949
{
50-
EXPECT_FALSE(
51-
comm::ControlModeTypes::is_control_mode_realtime(comm::ControlModeTypes::NON_REALTIME_CONTROL_MODES[i]));
50+
EXPECT_FALSE(comm::ControlModeTypes::isControlModeRealtime(comm::ControlModeTypes::NON_REALTIME_CONTROL_MODES[i]));
5251
}
5352

5453
for (unsigned int i = 0; i < comm::ControlModeTypes::STATIONARY_CONTROL_MODES.size(); ++i)
5554
{
56-
EXPECT_FALSE(comm::ControlModeTypes::is_control_mode_realtime(comm::ControlModeTypes::STATIONARY_CONTROL_MODES[i]));
55+
EXPECT_FALSE(comm::ControlModeTypes::isControlModeRealtime(comm::ControlModeTypes::STATIONARY_CONTROL_MODES[i]));
5756
}
5857
}
5958

@@ -62,21 +61,19 @@ TEST(control_mode, is_control_mode_non_realtime_with_non_realtime_control_modes)
6261
for (unsigned int i = 0; i < comm::ControlModeTypes::NON_REALTIME_CONTROL_MODES.size(); ++i)
6362
{
6463
EXPECT_TRUE(
65-
comm::ControlModeTypes::is_control_mode_non_realtime(comm::ControlModeTypes::NON_REALTIME_CONTROL_MODES[i]));
64+
comm::ControlModeTypes::isControlModeNonRealtime(comm::ControlModeTypes::NON_REALTIME_CONTROL_MODES[i]));
6665
}
6766
}
6867

6968
TEST(control_mode, is_control_mode_non_realtime_with_realtime_control_modes)
7069
{
7170
for (unsigned int i = 0; i < comm::ControlModeTypes::REALTIME_CONTROL_MODES.size(); ++i)
7271
{
73-
EXPECT_FALSE(
74-
comm::ControlModeTypes::is_control_mode_non_realtime(comm::ControlModeTypes::REALTIME_CONTROL_MODES[i]));
72+
EXPECT_FALSE(comm::ControlModeTypes::isControlModeNonRealtime(comm::ControlModeTypes::REALTIME_CONTROL_MODES[i]));
7573
}
7674
for (unsigned int i = 0; i < comm::ControlModeTypes::STATIONARY_CONTROL_MODES.size(); ++i)
7775
{
78-
EXPECT_FALSE(
79-
comm::ControlModeTypes::is_control_mode_non_realtime(comm::ControlModeTypes::STATIONARY_CONTROL_MODES[i]));
76+
EXPECT_FALSE(comm::ControlModeTypes::isControlModeNonRealtime(comm::ControlModeTypes::STATIONARY_CONTROL_MODES[i]));
8077
}
8178
}
8279

0 commit comments

Comments
 (0)