diff options
Diffstat (limited to 'libcxx/test/std/numerics/bit/bitops.count')
5 files changed, 9 insertions, 9 deletions
diff --git a/libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp index f7d837ed396..7a40a19b9a7 100644 --- a/libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp @@ -53,7 +53,7 @@ void runtime_test() ASSERT_SAME_TYPE(int, decltype(std::countl_one(T(0)))); ASSERT_NOEXCEPT( std::countl_one(T(0))); const int dig = std::numeric_limits<T>::digits; - + assert( std::countl_one(T(~121)) == dig - 7); assert( std::countl_one(T(~122)) == dig - 7); assert( std::countl_one(T(~123)) == dig - 7); diff --git a/libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp index d984f4de564..106ab35cc24 100644 --- a/libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp @@ -53,7 +53,7 @@ void runtime_test() ASSERT_SAME_TYPE(int, decltype(std::countl_zero(T(0)))); ASSERT_NOEXCEPT( std::countl_zero(T(0))); const int dig = std::numeric_limits<T>::digits; - + assert( std::countl_zero(T(121)) == dig - 7); assert( std::countl_zero(T(122)) == dig - 7); assert( std::countl_zero(T(123)) == dig - 7); @@ -68,7 +68,7 @@ void runtime_test() int main() { - + { auto lambda = [](auto x) -> decltype(std::countl_zero(x)) {}; using L = decltype(lambda); diff --git a/libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp index 96d1a93af3f..1bc1db3fa00 100644 --- a/libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp @@ -52,7 +52,7 @@ void runtime_test() { ASSERT_SAME_TYPE(int, decltype(std::countr_one(T(0)))); ASSERT_NOEXCEPT( std::countr_one(T(0))); - + assert( std::countr_one(T(121)) == 1); assert( std::countr_one(T(122)) == 0); assert( std::countr_one(T(123)) == 2); @@ -67,7 +67,7 @@ void runtime_test() int main() { - + { auto lambda = [](auto x) -> decltype(std::countr_one(x)) {}; using L = decltype(lambda); diff --git a/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp index 730b645e76c..0fe4037ba6a 100644 --- a/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp @@ -52,7 +52,7 @@ void runtime_test() { ASSERT_SAME_TYPE(int, decltype(std::countr_zero(T(0)))); ASSERT_NOEXCEPT( std::countr_zero(T(0))); - + assert( std::countr_zero(T(121)) == 0); assert( std::countr_zero(T(122)) == 1); assert( std::countr_zero(T(123)) == 0); @@ -67,7 +67,7 @@ void runtime_test() int main() { - + { auto lambda = [](auto x) -> decltype(std::countr_zero(x)) {}; using L = decltype(lambda); diff --git a/libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp index adc044cc073..24fe37aff8b 100644 --- a/libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp @@ -50,7 +50,7 @@ void runtime_test() { ASSERT_SAME_TYPE(int, decltype(std::popcount(T(0)))); ASSERT_NOEXCEPT( std::popcount(T(0))); - + assert( std::popcount(T(121)) == 5); assert( std::popcount(T(122)) == 5); assert( std::popcount(T(123)) == 6); @@ -65,7 +65,7 @@ void runtime_test() int main() { - + { auto lambda = [](auto x) -> decltype(std::popcount(x)) {}; using L = decltype(lambda); |