From: Craig Topper Date: Tue, 7 Mar 2017 03:16:37 +0000 (+0000) Subject: [APInt] Fix test names in unittest to match functions being tested. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be4e5b13c4d431a17bc8d1d67be91cf42c6e8a8f;p=llvm [APInt] Fix test names in unittest to match functions being tested. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297115 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ADT/APIntTest.cpp b/unittests/ADT/APIntTest.cpp index b8cbf16f5a6..ea1eb54bfc9 100644 --- a/unittests/ADT/APIntTest.cpp +++ b/unittests/ADT/APIntTest.cpp @@ -1556,7 +1556,7 @@ TEST(APIntTest, getLowBitsSet) { EXPECT_EQ(64u, i128lo64.countPopulation()); } -TEST(APIntTest, getHighBitsSet) { +TEST(APIntTest, getBitsSet) { APInt i64hi1lo1 = APInt::getBitsSet(64, 63, 1); EXPECT_EQ(1u, i64hi1lo1.countLeadingOnes()); EXPECT_EQ(0u, i64hi1lo1.countLeadingZeros()); @@ -1574,7 +1574,7 @@ TEST(APIntTest, getHighBitsSet) { EXPECT_EQ(2u, i127hi1lo1.countPopulation()); } -TEST(APIntTest, getBitsSet) { +TEST(APIntTest, getHighBitsSet) { APInt i64hi32 = APInt::getHighBitsSet(64, 32); EXPECT_EQ(32u, i64hi32.countLeadingOnes()); EXPECT_EQ(0u, i64hi32.countLeadingZeros());