#include <vector>
#include <gtest/gtest.h>
#include <ros/rate.h>
#include <ros/time.h>
#include <sys/time.h>
#include <boost/date_time/posix_time/ptime.hpp>
Go to the source code of this file.
Functions | |
void | alarmHandler (int sig) |
void | generate_rand_durations (uint32_t range, uint64_t runs, std::vector< ros::Duration > &values1, std::vector< ros::Duration > &values2) |
void | generate_rand_times (uint32_t range, uint64_t runs, std::vector< ros::Time > &values1, std::vector< ros::Time > &values2) |
int | main (int argc, char **argv) |
void | seed_rand () |
TEST (Time, size) | |
TEST (Time, Comparitors) | |
TEST (Time, ToFromDouble) | |
TEST (Time, RoundingError) | |
TEST (Time, OperatorPlus) | |
TEST (Time, OperatorMinus) | |
TEST (Time, OperatorPlusEquals) | |
TEST (Time, OperatorMinusEquals) | |
TEST (Time, SecNSecConstructor) | |
TEST (Time, DontMungeStreamState) | |
TEST (Time, ToFromBoost) | |
TEST (Duration, Comparitors) | |
TEST (Duration, ToFromSec) | |
TEST (Duration, OperatorPlus) | |
TEST (Duration, OperatorMinus) | |
TEST (Duration, OperatorTimes) | |
TEST (Duration, OperatorPlusEquals) | |
TEST (Duration, OperatorMinusEquals) | |
TEST (Duration, sleepWithSignal) | |
TEST (Rate, constructFromDuration) | |
TEST (Rate, sleep_return_value_true) | |
TEST (Rate, sleep_return_value_false) | |
TEST (WallRate, constructFromDuration) | |
Variables | |
double | epsilon = 1e-9 |
void alarmHandler | ( | int | sig | ) |
Definition at line 435 of file test/time.cpp.
void generate_rand_durations | ( | uint32_t | range, |
uint64_t | runs, | ||
std::vector< ros::Duration > & | values1, | ||
std::vector< ros::Duration > & | values2 | ||
) |
Definition at line 67 of file test/time.cpp.
void generate_rand_times | ( | uint32_t | range, |
uint64_t | runs, | ||
std::vector< ros::Time > & | values1, | ||
std::vector< ros::Time > & | values2 | ||
) |
Definition at line 53 of file test/time.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 482 of file test/time.cpp.
void seed_rand | ( | ) |
Definition at line 45 of file test/time.cpp.
Definition at line 102 of file test/time.cpp.
Definition at line 108 of file test/time.cpp.
Definition at line 141 of file test/time.cpp.
Definition at line 155 of file test/time.cpp.
Definition at line 170 of file test/time.cpp.
Definition at line 191 of file test/time.cpp.
Definition at line 212 of file test/time.cpp.
Definition at line 233 of file test/time.cpp.
Definition at line 254 of file test/time.cpp.
Definition at line 261 of file test/time.cpp.
Definition at line 273 of file test/time.cpp.
Definition at line 292 of file test/time.cpp.
Definition at line 326 of file test/time.cpp.
Definition at line 343 of file test/time.cpp.
Definition at line 359 of file test/time.cpp.
Definition at line 377 of file test/time.cpp.
Definition at line 393 of file test/time.cpp.
Definition at line 414 of file test/time.cpp.
Definition at line 440 of file test/time.cpp.
Definition at line 452 of file test/time.cpp.
Definition at line 458 of file test/time.cpp.
Definition at line 464 of file test/time.cpp.
Definition at line 470 of file test/time.cpp.
double epsilon = 1e-9 |
Definition at line 43 of file test/time.cpp.