MRPT
1.9.9
|
#include <mrpt/system/datetime.h>
#include <mrpt/core/Clock.h>
#include <gtest/gtest.h>
#include <thread>
Go to the source code of this file.
Functions | |
TEST (DateTime, dateTimeVsClock) | |
TEST (DateTime, time_t_forth_back) | |
TEST (DateTime, fixed_date_check) | |
TEST (DateTime, double_to_from) | |
TEST | ( | DateTime | , |
dateTimeVsClock | |||
) |
Definition at line 16 of file datetime_unittest.cpp.
References mrpt::system::getCurrentTime(), and mrpt::Clock::now().
TEST | ( | DateTime | , |
time_t_forth_back | |||
) |
Definition at line 30 of file datetime_unittest.cpp.
References mrpt::system::time_tToTimestamp(), and mrpt::system::timestampTotime_t().
TEST | ( | DateTime | , |
fixed_date_check | |||
) |
Definition at line 46 of file datetime_unittest.cpp.
References mrpt::system::dateTimeToString(), and mrpt::system::timestampTotime_t().
TEST | ( | DateTime | , |
double_to_from | |||
) |
Definition at line 57 of file datetime_unittest.cpp.
References mrpt::Clock::fromDouble(), mrpt::system::now(), and mrpt::system::timestampToDouble().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020 |