🔊 add test for type traits

parent 039c9769
...@@ -107,6 +107,8 @@ TEST_CASE("Alternative number types") ...@@ -107,6 +107,8 @@ TEST_CASE("Alternative number types")
CHECK(std::is_integral<__uint128_t>::value); CHECK(std::is_integral<__uint128_t>::value);
CHECK(std::numeric_limits<__int128_t>::is_integer); CHECK(std::numeric_limits<__int128_t>::is_integer);
CHECK(std::numeric_limits<__uint128_t>::is_integer); CHECK(std::numeric_limits<__uint128_t>::is_integer);
CHECK(std::is_convertible<std::int64_t, __int128_t>::value);
CHECK(std::is_convertible<std::uint64_t, __uint128_t>::value);
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment