#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "Utilities/PeriodicTask.h"
Go to the source code of this file.
Definition at line 28 of file test_periodic_tasks.cpp.
References TestPeriodicTask::_cleanedUp, TestPeriodicTask::_counter, TestPeriodicTask::_init, TestPeriodicTask::_slow, f(), inc_scount(), scount, PeriodicTask::start(), and PeriodicTaskManager::stopAll().
36 for (
int i = 0; i < 10; i++) {
44 EXPECT_TRUE(task2._counter > 0);
45 EXPECT_TRUE(task2._init);
46 EXPECT_FALSE(task2._cleanedUp);
48 EXPECT_TRUE(task2._counter > 0);
49 EXPECT_TRUE(task2._init);
50 EXPECT_FALSE(task2._cleanedUp);
58 for (
int i = 0; i < 10; i++) {
71 printf(
"scount = %d\n",
scount);
MX f(const MX &x, const MX &u)