#include <vector>
#include <gtest/gtest.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, 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) | |
Variables | |
double | epsilon = 1e-9 |
void alarmHandler | ( | int | sig | ) |
Definition at line 395 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 66 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 52 of file test/time.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 417 of file test/time.cpp.
void seed_rand | ( | ) |
Definition at line 44 of file test/time.cpp.
Definition at line 80 of file test/time.cpp.
Definition at line 86 of file test/time.cpp.
Definition at line 119 of file test/time.cpp.
Definition at line 133 of file test/time.cpp.
Definition at line 154 of file test/time.cpp.
Definition at line 175 of file test/time.cpp.
Definition at line 196 of file test/time.cpp.
Definition at line 217 of file test/time.cpp.
Definition at line 224 of file test/time.cpp.
Definition at line 236 of file test/time.cpp.
Definition at line 255 of file test/time.cpp.
Definition at line 288 of file test/time.cpp.
Definition at line 303 of file test/time.cpp.
Definition at line 319 of file test/time.cpp.
Definition at line 337 of file test/time.cpp.
Definition at line 353 of file test/time.cpp.
Definition at line 374 of file test/time.cpp.
Definition at line 400 of file test/time.cpp.
double epsilon = 1e-9 |
Definition at line 42 of file test/time.cpp.