Classes | Defines | Functions | Variables
laser_interval_calc_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <laser_cb_detector/laser_interval_calc.h>
Include dependency graph for laser_interval_calc_unittest.cpp:

Go to the source code of this file.

Classes

class  LaserIntervalCalcTest

Defines

#define EXPECT_ROSTIME_NEAR(a, b)

Functions

int main (int argc, char **argv)
 TEST_F (LaserIntervalCalcTest, easy_single_point)
 TEST_F (LaserIntervalCalcTest, corners)
 TEST_F (LaserIntervalCalcTest, empty)
 TEST_F (LaserIntervalCalcTest, easy_multi_point)

Variables

static const bool DEBUG = false
static const float eps = 1e-6

Define Documentation

#define EXPECT_ROSTIME_NEAR (   a,
 
)
Value:
EXPECT_NEAR( (a-b).toSec(), 0.0, eps) \
     << "Times don't match: #a: " << a.toSec() << "   " << "#b: " << b.toSec()

Definition at line 71 of file laser_interval_calc_unittest.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 134 of file laser_interval_calc_unittest.cpp.

TEST_F ( LaserIntervalCalcTest  ,
easy_single_point   
)

Definition at line 75 of file laser_interval_calc_unittest.cpp.

TEST_F ( LaserIntervalCalcTest  ,
corners   
)

Definition at line 87 of file laser_interval_calc_unittest.cpp.

TEST_F ( LaserIntervalCalcTest  ,
empty   
)

Definition at line 107 of file laser_interval_calc_unittest.cpp.

TEST_F ( LaserIntervalCalcTest  ,
easy_multi_point   
)

Definition at line 117 of file laser_interval_calc_unittest.cpp.


Variable Documentation

const bool DEBUG = false [static]

Definition at line 42 of file laser_interval_calc_unittest.cpp.

const float eps = 1e-6 [static]

Definition at line 44 of file laser_interval_calc_unittest.cpp.



laser_cb_detector
Author(s): Vijay Pradeep
autogenerated on Sun Oct 5 2014 22:43:14