Physical units put in the physical namespace (I am sorry)
This commit is contained in:
1 parent
771a9a1551
commit
7e935a4108
117 files changed
+352
-349
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
#include "units/format.h"
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
using namespace units::si;
|
||||
using namespace units::international;
|
||||
using namespace units::us;
|
||||
using namespace units::iau;
|
||||
using namespace units::imperial;
|
||||
using namespace units::typographic;
|
||||
using namespace units::physical::si;
|
||||
using namespace units::physical::international;
|
||||
using namespace units::physical::us;
|
||||
using namespace units::physical::iau;
|
||||
using namespace units::physical::imperial;
|
||||
using namespace units::physical::typographic;
|
||||
|
||||
TEST_CASE("fmt::format on synthesized unit symbols", "[text][fmt]")
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
using namespace units;
|
||||
using namespace units::si;
|
||||
using namespace units::physical::si;
|
||||
|
||||
// classical
|
||||
|
||||
|
||||
Reference in new issue
Block a user