From ff7045647330f5dc21725a42456091207f3eecd5 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 20 Dec 2017 12:34:46 -0800 Subject: Changes imported from Abseil "staging" branch: - 20f4e7133d695e9a05e13ebdfd4d78da310b42b5 Remove the warning supressions -Wno-documentation and by Derek Mauro - e1bde85c0571673b1e7a88b9d45a393606ba7e6c Changed the optimized version of strings_internal::JoinAl... by Abseil Team - 746e6716b4c15be61547670d68d25a1c850d3954 Add missing absl:: qualification. by Alex Strelnikov - 4e5c18c488cbd49ca72b02911cf22d830d5a7f16 Internals change: Remove the ability to pass a custom met... by Greg Falcon - 65d58107a5730d4b6468bbffc72bea2f980af826 Moved most common character case (ascii printable) out of... by Abseil Team - f031331cc55a3d57b9110e12c7cbe50ac3e2a04f Add missing copyright headers to a few source files. by Greg Falcon - 6035a77af6fa951c536b42df4c710d16d1817aec Enable libstdc++'s memcmp optimization in absl::equal for... by Abseil Team - 73a665a4a10781e5d89f75a876ece7ad859f4116 Fix minor spelling error "hexidecimal". by Abseil Team GitOrigin-RevId: 20f4e7133d695e9a05e13ebdfd4d78da310b42b5 Change-Id: Id8c18ebd331d096935052a6ab259ebe0e2ef13ae --- absl/numeric/int128_test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'absl/numeric') diff --git a/absl/numeric/int128_test.cc b/absl/numeric/int128_test.cc index 75fd6371..d674cb12 100644 --- a/absl/numeric/int128_test.cc +++ b/absl/numeric/int128_test.cc @@ -175,8 +175,8 @@ TEST(Uint128, AllTests) { big_copy = big; EXPECT_EQ(big >> 73, big_copy >>= 73); - EXPECT_EQ(Uint128High64(biggest), std::numeric_limits::max()); - EXPECT_EQ(Uint128Low64(biggest), std::numeric_limits::max()); + EXPECT_EQ(absl::Uint128High64(biggest), std::numeric_limits::max()); + EXPECT_EQ(absl::Uint128Low64(biggest), std::numeric_limits::max()); EXPECT_EQ(zero + one, one); EXPECT_EQ(one + one, two); EXPECT_EQ(big_minus_one + one, big); @@ -190,8 +190,8 @@ TEST(Uint128, AllTests) { EXPECT_EQ(zero - 1, biggest); EXPECT_EQ(high_low - one, low_high); EXPECT_EQ(low_high + one, high_low); - EXPECT_EQ(Uint128High64((absl::uint128(1) << 64) - 1), 0); - EXPECT_EQ(Uint128Low64((absl::uint128(1) << 64) - 1), + EXPECT_EQ(absl::Uint128High64((absl::uint128(1) << 64) - 1), 0); + EXPECT_EQ(absl::Uint128Low64((absl::uint128(1) << 64) - 1), std::numeric_limits::max()); EXPECT_TRUE(!!one); EXPECT_TRUE(!!high_low); -- cgit v1.2.3