We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c19b5 commit 08e62dfCopy full SHA for 08e62df
test/static/astronomy_test.cpp
@@ -33,9 +33,9 @@ using mp_units::astronomy::unit_symbols::a;
33
34
// time units
35
static_assert(1 * D == 86'400 * s);
36
-static_assert(10'000 * D_sid, 861'640'905 * s));
37
-static_assert(100 * a, 36525 * D));
38
-static_assert(1 * a, 31'557'600 * s));
+static_assert(10'000 * D_sid == 861'640'905 * s));
+static_assert(100 * a == 36525 * D));
+static_assert(1 * a == 31'557'600 * s));
39
static_assert(approx_equal(1. * a_trop, 365.242189 * D));
40
static_assert(1 * c == 100 * a);
41
static_assert(1 * ka == 1000 * a);
0 commit comments