forked from mpusz/mp-units
docs: comments cleanup in tests
This commit is contained in:
@@ -30,8 +30,6 @@ using namespace mp_units;
|
|||||||
using namespace mp_units::imperial;
|
using namespace mp_units::imperial;
|
||||||
using namespace mp_units::imperial::unit_symbols;
|
using namespace mp_units::imperial::unit_symbols;
|
||||||
|
|
||||||
/* ************** BASE DIMENSIONS **************** */
|
|
||||||
|
|
||||||
// https://en.wikipedia.org/wiki/United_States_customary_units#Length
|
// https://en.wikipedia.org/wiki/United_States_customary_units#Length
|
||||||
|
|
||||||
// International
|
// International
|
||||||
|
@@ -72,6 +72,7 @@ static_assert(isq::length(1 * survey1893::us_survey_mile) == isq::length(8 * sur
|
|||||||
static_assert(isq::length(1 * survey1893::league) == isq::length(3 * survey1893::us_survey_mile));
|
static_assert(isq::length(1 * survey1893::league) == isq::length(3 * survey1893::us_survey_mile));
|
||||||
|
|
||||||
// Area
|
// Area
|
||||||
|
// TODO verify the below
|
||||||
// static_assert(isq::area(1 * square(survey1893::us_survey_foot)) == isq::area(144 * square(inch)));
|
// static_assert(isq::area(1 * square(survey1893::us_survey_foot)) == isq::area(144 * square(inch)));
|
||||||
static_assert(isq::area(1 * square(survey1893::chain)) == isq::area(4356 * square(survey1893::us_survey_foot)));
|
static_assert(isq::area(1 * square(survey1893::chain)) == isq::area(4356 * square(survey1893::us_survey_foot)));
|
||||||
static_assert(isq::area(1 * acre) == isq::area(43560 * square(survey1893::us_survey_foot)));
|
static_assert(isq::area(1 * acre) == isq::area(43560 * square(survey1893::us_survey_foot)));
|
||||||
|
Reference in New Issue
Block a user