mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [
git repo
]
Loading...
Searching...
No Matches
units_test.cpp
Go to the documentation of this file.
1
/** \file units_test.cpp
2
* \brief Placeholder tests for astronomical unit systems.
3
*/
4
#include "../../catch2/catch.hpp"
5
6
#include "
../../../include/astro/units.hpp
"
7
8
/** \cond
9
* Explicit instantiations compile-check all five double-precision unit systems. These constant-only types provide
10
* compile ownership even when they emit no executable coverage counters.
11
*/
12
template
struct
mx::astro::units::si<double>
;
13
template
struct
mx::astro::units::cgs<double>
;
14
template
struct
mx::astro::units::solar<double>
;
15
template
struct
mx::astro::units::earth<double>
;
16
template
struct
mx::astro::units::jupiter<double>
;
17
/** \endcond */
18
19
/** \defgroup units_unit_tests Astronomy Units Unit Tests
20
* \ingroup astro_unit_tests
21
*/
22
23
namespace
unitTest::placeholder::astro_units_test
24
{
25
26
/** \brief Verifies that the mx::astro::units API is represented in the unit-test target.
27
*
28
* \ingroup units_unit_tests
29
* \todo Add behavioral assertions for the unit systems declared in mx::astro::units.
30
*/
31
TEST_CASE
(
"astronomy units API has a test placeholder"
,
"[astro::units][placeholder]"
)
32
{
33
SUCCEED(
"Astronomy units behavioral assertions are pending."
);
34
}
35
36
}
// namespace unitTest::placeholder::astro_units_test
TEST_CASE
TEST_CASE("Loading aoAtmosphere config settings", "[ao::analysis::aoAtmosphere]")
Verify parsing and validation of atmosphere configuration settings.
Definition
aoAtmosphere_test.cpp:23
mx::astro::units::cgs
Centimeter-Gram-Second (cgs) units-type.
Definition
units.hpp:55
mx::astro::units::earth
Earth units-type.
Definition
units.hpp:100
mx::astro::units::jupiter
Jupiter units-type.
Definition
units.hpp:121
mx::astro::units::si
International System of Units (SI) units-type.
Definition
units.hpp:36
mx::astro::units::solar
Solar units-type.
Definition
units.hpp:74
units.hpp
Unit specifications and conversions.
tests
include
astro
units_test.cpp
Generated on
for mxlib by
1.15.0