MRPT  2.0.4
Functions
Clock_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/core/Clock.h>
#include <chrono>
#include <thread>

Go to the source code of this file.

Functions

static void test_delay ()
 
 TEST (clock, delay_Realtime)
 
 TEST (clock, changeSource)
 
 TEST (clock, checkSynchEpoch)
 

Function Documentation

◆ TEST() [1/3]

TEST ( clock  ,
changeSource   
)

◆ TEST() [2/3]

TEST ( clock  ,
checkSynchEpoch   
)

Definition at line 58 of file Clock_unittest.cpp.

References EXPECT_LT(), and mrpt::Clock::resetMonotonicToRealTimeEpoch().

◆ TEST() [3/3]

TEST ( clock  ,
delay_Realtime   
)

Definition at line 25 of file Clock_unittest.cpp.

References mrpt::Clock::setActiveClock(), and test_delay().

◆ test_delay()

static void test_delay ( )
static

Definition at line 15 of file Clock_unittest.cpp.

References EXPECT_GT(), EXPECT_LT(), mrpt::Clock::now(), and mrpt::Clock::toDouble().

Referenced by TEST().




Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Fri Jul 17 08:43:33 UTC 2020