Defines | Functions | Variables
test_calibration.cpp File Reference
#include <ros/ros.h>
#include <math.h>
#include <cyberglove/xml_calibration_parser.h>
#include <gtest/gtest.h>
Include dependency graph for test_calibration.cpp:

Go to the source code of this file.

Defines

#define TEST_EXPRESSION(a)   EXPECT_EQ((a), meval::EvaluateMathExpression(#a))

Functions

int main (int argc, char **argv)
 TEST (LookupTable, testSimple)
 TEST (LookupTable, integrity)
 TEST (LookupTable, testCalibNotStartingAtZero)
 TEST (LookupTable, testRawNotStartingAtZero)
 TEST (LookupTable, tableNotOrdered)

Variables

XmlCalibrationParser calib_parser
float epsilon = 0.01f
std::string path_to_calibration = "test/cyberglove_test.cal"

Define Documentation

#define TEST_EXPRESSION (   a)    EXPECT_EQ((a), meval::EvaluateMathExpression(#a))

Definition at line 35 of file test_calibration.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 154 of file test_calibration.cpp.

TEST ( LookupTable  ,
testSimple   
)

Definition at line 46 of file test_calibration.cpp.

TEST ( LookupTable  ,
integrity   
)

Definition at line 70 of file test_calibration.cpp.

TEST ( LookupTable  ,
testCalibNotStartingAtZero   
)

Definition at line 81 of file test_calibration.cpp.

TEST ( LookupTable  ,
testRawNotStartingAtZero   
)

Definition at line 105 of file test_calibration.cpp.

TEST ( LookupTable  ,
tableNotOrdered   
)

Definition at line 129 of file test_calibration.cpp.


Variable Documentation

Definition at line 44 of file test_calibration.cpp.

float epsilon = 0.01f

Definition at line 42 of file test_calibration.cpp.

std::string path_to_calibration = "test/cyberglove_test.cal"

Definition at line 40 of file test_calibration.cpp.



cyberglove
Author(s): Ugo Cupcic
autogenerated on Fri Jan 3 2014 12:04:16