EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UnitConversionTests.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/Units.hpp"
+ Include dependency graph for UnitConversionTests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (length_conversions)
 
 BOOST_AUTO_TEST_CASE (area_conversions)
 
 BOOST_AUTO_TEST_CASE (volume_conversions)
 
 BOOST_AUTO_TEST_CASE (time_conversions)
 
 BOOST_AUTO_TEST_CASE (angle_conversions)
 
 BOOST_AUTO_TEST_CASE (energy_conversions)
 
 BOOST_AUTO_TEST_CASE (mass_conversions)
 
 BOOST_AUTO_TEST_CASE (mass_energy_conversions)
 
 BOOST_AUTO_TEST_CASE (charge_conversions)
 
 BOOST_AUTO_TEST_CASE (magnetic_field_conversions)
 
 BOOST_AUTO_TEST_CASE (momentum_to_radius_conversion)
 

Function Documentation

BOOST_AUTO_TEST_CASE ( length_conversions  )

Definition at line 18 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 18 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( area_conversions  )

Definition at line 28 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 28 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( volume_conversions  )

Definition at line 40 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 40 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( time_conversions  )

Definition at line 49 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 49 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( angle_conversions  )

Definition at line 60 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 60 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, Acts::UnitConstants::e, and M_PI.

BOOST_AUTO_TEST_CASE ( energy_conversions  )

Definition at line 69 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 69 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( mass_conversions  )

Definition at line 76 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 76 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( mass_energy_conversions  )

Definition at line 83 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 83 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( charge_conversions  )

Definition at line 95 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 95 of file UnitConversionTests.cpp

References CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( magnetic_field_conversions  )

Definition at line 99 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 99 of file UnitConversionTests.cpp

References _T, CHECK_CLOSE_REL, and Acts::UnitConstants::e.

BOOST_AUTO_TEST_CASE ( momentum_to_radius_conversion  )

Definition at line 104 of file UnitConversionTests.cpp.

View newest version in sPHENIX GitHub at line 104 of file UnitConversionTests.cpp

References _T, CHECK_CLOSE_REL, and Acts::UnitConstants::e.