Functions
test/duration.cpp File Reference
#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, sleepWithSimTime)
 
 TEST (Duration, castFromDoubleExceptions)
 
 TEST (Duration, castFromInt64Exceptions)
 
 TEST (Duration, arithmeticExceptions)
 
 TEST (Duration, negativeSignExceptions)
 
 TEST (Duration, rounding)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

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

◆ TEST() [1/6]

TEST ( Duration  ,
sleepWithSimTime   
)

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

◆ TEST() [2/6]

TEST ( Duration  ,
castFromDoubleExceptions   
)

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

◆ TEST() [3/6]

TEST ( Duration  ,
castFromInt64Exceptions   
)

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

◆ TEST() [4/6]

TEST ( Duration  ,
arithmeticExceptions   
)

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

◆ TEST() [5/6]

TEST ( Duration  ,
negativeSignExceptions   
)

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

◆ TEST() [6/6]

TEST ( Duration  ,
rounding   
)

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



rostime
Author(s): Josh Faust
autogenerated on Mon Feb 28 2022 23:31:37