ChimeraTK-DeviceAccess  03.18.00
testIEEE754_SingleConverter.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "Exception.h"
#include "IEEE754_SingleConverter.h"
#include <float.h>
+ Include dependency graph for testIEEE754_SingleConverter.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   IEEE754_SingleConverterTest
 

Functions

 BOOST_AUTO_TEST_CASE (test_toCooked_3_25)
 
 BOOST_AUTO_TEST_CASE (test_toCooked_60k)
 
 BOOST_AUTO_TEST_CASE (test_toCooked_minus240)
 
void checkAsRaw (int32_t rawValue, float expectedValue)
 
 BOOST_AUTO_TEST_CASE (test_from_3_25)
 
 BOOST_AUTO_TEST_CASE (test_toCooked_00)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 4 of file testIEEE754_SingleConverter.cpp.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   IEEE754_SingleConverterTest

Definition at line 5 of file testIEEE754_SingleConverter.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( test_from_3_25  )

Definition at line 87 of file testIEEE754_SingleConverter.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( test_toCooked_00  )

Definition at line 114 of file testIEEE754_SingleConverter.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( test_toCooked_3_25  )

Definition at line 15 of file testIEEE754_SingleConverter.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( test_toCooked_60k  )

Definition at line 36 of file testIEEE754_SingleConverter.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( test_toCooked_minus240  )

Definition at line 59 of file testIEEE754_SingleConverter.cpp.

+ Here is the call graph for this function:

◆ checkAsRaw()

void checkAsRaw ( int32_t  rawValue,
float  expectedValue 
)

Definition at line 80 of file testIEEE754_SingleConverter.cpp.

+ Here is the caller graph for this function: