xo-unit: expand unit test to cover basis_unit2, basis_unit2_store

This commit is contained in:
Roland Conybeare 2024-04-19 13:32:21 -04:00
commit 3643f6a0a0
2 changed files with 145 additions and 1 deletions

View file

@ -70,7 +70,7 @@ namespace xo {
template <dim BasisDim, typename InnerScale>
struct scaled_native_unit_abbrev {
/* e.g. unit of '10000 grams' will have abbrev '1000g' in absence
/* e.g. unit of '1000 grams' will have abbrev '1000g' in absence
* of a specialization for scaled_native_unit_abbrev
*/
static constexpr auto value = stringliteral_concat(stringliteral_from_ratio<InnerScale>().value_,