xo-unit: expand unit test to cover basis_unit2, basis_unit2_store
This commit is contained in:
parent
8f39edcdd8
commit
3643f6a0a0
2 changed files with 145 additions and 1 deletions
|
|
@ -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_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue