Physical units put in the physical namespace (I am sorry)

This commit is contained in:
Mateusz Pusz
2020-05-08 22:39:24 +02:00
parent 771a9a1551
commit 7e935a4108
117 changed files with 352 additions and 349 deletions
+3 -2
View File
@@ -37,7 +37,8 @@
#include <sstream>
using namespace units;
using namespace units::si;
using namespace units::physical;
using namespace units::physical::si;
using namespace Catch::Matchers;
TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
@@ -290,7 +291,7 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
SECTION("surface tension")
{
struct newton_per_centimetre : deduced_unit<newton_per_centimetre, dim_surface_tension, newton, centimetre> {};
struct newton_per_centimetre : deduced_unit<newton_per_centimetre, si::dim_surface_tension, newton, centimetre> {};
const surface_tension<newton_per_centimetre> q(123);
os << q;