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
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 */
12template struct mx::astro::units::si<double>;
13template struct mx::astro::units::cgs<double>;
17/** \endcond */
18
19/** \defgroup units_unit_tests Astronomy Units Unit Tests
20 * \ingroup astro_unit_tests
21 */
22
23namespace 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 */
31TEST_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("Loading aoAtmosphere config settings", "[ao::analysis::aoAtmosphere]")
Verify parsing and validation of atmosphere configuration settings.
Centimeter-Gram-Second (cgs) units-type.
Definition units.hpp:55
Earth units-type.
Definition units.hpp:100
Jupiter units-type.
Definition units.hpp:121
International System of Units (SI) units-type.
Definition units.hpp:36
Solar units-type.
Definition units.hpp:74
Unit specifications and conversions.