Skip to content

Commit 04fe703

Browse files
authored
Restoring empty line separators
1 parent b7ae8e4 commit 04fe703

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/static/astronomy_test.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,18 @@
1919
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
// SOFTWARE.
22+
2223
#include "test_tools.h"
2324
#include <mp-units/systems/astronomy.h>
2425
#include <mp-units/systems/si.h>
2526

2627
namespace {
28+
2729
using namespace mp_units;
2830
using namespace mp_units::astronomy::unit_symbols;
2931
using namespace mp_units::si::unit_symbols;
3032
using mp_units::astronomy::unit_symbols::a;
33+
3134
// time units
3235
static_assert(1. * D == 86'400. * s);
3336
static_assert(approx_equal(1. * D_sid, 86'164.0905 * s));
@@ -36,11 +39,14 @@ static_assert(approx_equal(1. * a, 31'557'600. * s));
3639
static_assert(approx_equal(1. * a_trop, 365.242189 * D));
3740
static_assert(1. * c == 100. * a);
3841
static_assert(1. * ka == 1000. * a);
42+
3943
// length units
4044
static_assert(1. * LD == 384'399. * km);
4145
static_assert(1. * ly == 9'460'730'472'580'800. * m);
46+
4247
// spectral flux density
4348
static_assert(approx_equal(1. * Jy, 1e-26 * W / m2 / Hz));
49+
4450
// legacy constants
4551
static_assert(approx_equal(1. * k, 1'720'209'895. / 100'000'000'000. * pow<3, 2>(iau::astronomical_unit) /
4652
pow<1, 2>(iau::solar_mass) / D));

0 commit comments

Comments
 (0)