From cb2b1c8b9e5ceb53710bdfae4d7afb55f683a6df Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 27 Apr 2024 08:21:47 -0400 Subject: [PATCH] xo-unit: refactor: nu_maker.make_bpu_array -> make_nu --- utest/unit.test.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/utest/unit.test.cpp b/utest/unit.test.cpp index 33b6355b..6fb5041a 100644 --- a/utest/unit.test.cpp +++ b/utest/unit.test.cpp @@ -552,7 +552,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::mass, scalefactor_ratio_type(1000, 1), power_ratio_type(1, 1)))); static_assert(v.n_bpu() == 1); @@ -560,7 +560,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)), bpu(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1)))); @@ -582,7 +582,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)), bpu(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1)))); @@ -629,7 +629,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)), bpu(dim::time, scalefactor_ratio_type(30*24*3600, 1), power_ratio_type(-1, 2)))); @@ -673,7 +673,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)), bpu(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1)))); @@ -717,14 +717,14 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)), bpu(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1)))); static_assert(v.n_bpu() == 2); constexpr natural_unit w - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::time, scalefactor_ratio_type(30*24*3600, 1), power_ratio_type(-1, 2)))); static_assert(w.n_bpu() == 1); @@ -764,7 +764,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)), bpu(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1)))); @@ -791,7 +791,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::distance, scalefactor_ratio_type(1000, 1), power_ratio_type(2, 1)))); static_assert(v.n_bpu() == 1); @@ -817,7 +817,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::mass, scalefactor_ratio_type(1000, 1), power_ratio_type(1, 1)), bpu(dim::distance, scalefactor_ratio_type(1, 1), power_ratio_type(1, 1)), bpu(dim::time, scalefactor_ratio_type(1, 1), power_ratio_type(-2, 1)))); @@ -845,7 +845,7 @@ namespace xo { { constexpr natural_unit v - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::mass, scalefactor_ratio_type(1000, 1), power_ratio_type(1, 1)), bpu(dim::distance, scalefactor_ratio_type(1, 1), power_ratio_type(1, 1)))); @@ -871,7 +871,7 @@ namespace xo { { constexpr natural_unit w - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::mass, scalefactor_ratio_type(1000, 1), power_ratio_type(1, 1)))); static_assert(w.n_bpu() == 1); @@ -889,7 +889,7 @@ namespace xo { { constexpr natural_unit w - = (nu_maker::make_bpu_array + = (nu_maker::make_nu (bpu(dim::time, scalefactor_ratio_type(1, 1), power_ratio_type(1, 1)))); static_assert(w.n_bpu() == 1);