mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 03:44:27 +02:00
Update test/runtime/atomic_test.cpp
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
This commit is contained in:
@@ -34,7 +34,7 @@ using namespace mp_units::si::unit_symbols;
|
|||||||
|
|
||||||
TEST_CASE("std::atomic works with dimensioned types", "[atomic][assignment]")
|
TEST_CASE("std::atomic works with dimensioned types", "[atomic][assignment]")
|
||||||
{
|
{
|
||||||
std::atomic<isq::area[m2]> a = 3.0 * isq::area[m2];
|
std::atomic<quantity<isq::area[m2]>> a = 3.0 * isq::area[m2];
|
||||||
std::atomic<isq::area[m2]> b = 3.0 * isq::area[m2];
|
std::atomic<quantity<isq::area[m2]>> b = 3.0 * isq::area[m2];
|
||||||
REQUIRE(a == b);
|
REQUIRE(a == b);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user