fix: Some MSVC-specific special cases removed

This commit is contained in:
Mateusz Pusz
2021-09-23 19:16:44 +02:00
parent 40d6be9f75
commit ed1b2d2647
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -75,12 +75,10 @@ TEST_CASE("absolute functions on quantity returns the absolute value", "[math][a
REQUIRE(abs(-1_q_m) == 1_q_m);
}
#ifndef UNITS_COMP_MSVC
SECTION ("floating-point representation")
{
REQUIRE(abs(-1._q_m) == 1_q_m);
}
#endif
}
SECTION ("'abs()' on a positive quantity returns the abs")
@@ -90,12 +88,10 @@ TEST_CASE("absolute functions on quantity returns the absolute value", "[math][a
REQUIRE(abs(1_q_m) == 1_q_m);
}
#ifndef UNITS_COMP_MSVC
SECTION ("floating-point representation")
{
REQUIRE(abs(1._q_m) == 1_q_m);
}
#endif
}
}