Functions
test/duration.cpp File Reference
#include <limits>
#include <gtest/gtest.h>
#include <ros/duration.h>
#include <ros/time.h>
Include dependency graph for test/duration.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
 TEST (Duration, arithmeticExceptions)
 
 TEST (Duration, castFromDoubleExceptions)
 
 TEST (Duration, castFromInt64Exceptions)
 
 TEST (Duration, negativeSignExceptions)
 
 TEST (Duration, rounding)
 
 TEST (Duration, sleepWithSimTime)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 172 of file test/duration.cpp.

◆ TEST() [1/6]

TEST ( Duration  ,
arithmeticExceptions   
)

Definition at line 95 of file test/duration.cpp.

◆ TEST() [2/6]

TEST ( Duration  ,
castFromDoubleExceptions   
)

Definition at line 53 of file test/duration.cpp.

◆ TEST() [3/6]

TEST ( Duration  ,
castFromInt64Exceptions   
)

Definition at line 77 of file test/duration.cpp.

◆ TEST() [4/6]

TEST ( Duration  ,
negativeSignExceptions   
)

Definition at line 115 of file test/duration.cpp.

◆ TEST() [5/6]

TEST ( Duration  ,
rounding   
)

Definition at line 139 of file test/duration.cpp.

◆ TEST() [6/6]

TEST ( Duration  ,
sleepWithSimTime   
)

Definition at line 38 of file test/duration.cpp.



rostime
Author(s): Josh Faust, Dirk Thomas
autogenerated on Sat Jun 17 2023 02:32:37