From 68203b6a9f63c2a6bc050bf69337efd00003af7e Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 10 May 2021 18:11:53 +0200 Subject: [PATCH] test: additional tests for FPS unit text symbols added --- test/unit_test/static/fps_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit_test/static/fps_test.cpp b/test/unit_test/static/fps_test.cpp index 7bbf8ab8..1eb7e541 100644 --- a/test/unit_test/static/fps_test.cpp +++ b/test/unit_test/static/fps_test.cpp @@ -84,6 +84,7 @@ static_assert(10_q_pdl * 10_q_ft == 100_q_ft_pdl); static_assert(100_q_ft_pdl / 10_q_ft == 10_q_pdl); static_assert(100_q_ft_pdl / 10_q_pdl == 10_q_ft); +static_assert(detail::unit_text() == basic_symbol_text("ft ⋅ pdl", "ft pdl")); static_assert(detail::unit_text() == basic_symbol_text("ft ⋅ lbf", "ft lbf")); /* ************** DERIVED DIMENSIONS IN TERMS OF OTHER UNITS **************** */ @@ -94,6 +95,7 @@ static_assert(10_q_ft_pdl / 10_q_s == 1_q_ft_pdl_per_s); static_assert(1_q_ft_pdl_per_s * 10_q_s == 10_q_ft_pdl); static_assert(10_q_ft_pdl / 1_q_ft_pdl_per_s == 10_q_s); +static_assert(detail::unit_text() == basic_symbol_text("ft ⋅ pdl/s", "ft pdl/s")); static_assert(detail::unit_text() == basic_symbol_text("ft ⋅ lbf/s", "ft lbf/s")); }