From: Benjamin Kramer Date: Wed, 19 Aug 2009 19:41:05 +0000 (+0000) Subject: Remove SmallString::append_*int* unit tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2a5661d329e4af0d09bc1e59333401e6c3fc13b;p=llvm Remove SmallString::append_*int* unit tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79451 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ADT/SmallStringTest.cpp b/unittests/ADT/SmallStringTest.cpp index 188397476ff..099d8159c91 100644 --- a/unittests/ADT/SmallStringTest.cpp +++ b/unittests/ADT/SmallStringTest.cpp @@ -44,21 +44,5 @@ TEST_F(SmallStringTest, EmptyStringTest) { EXPECT_TRUE(theString.rbegin() == theString.rend()); } -TEST_F(SmallStringTest, AppendUINT64_MAX) { - SCOPED_TRACE("AppendUINT64_MAX"); - theString.clear(); - assertEmpty(theString); - theString.append_uint(UINT64_MAX); - EXPECT_TRUE(0 == strcmp(theString.c_str(),"18446744073709551615")); -} - -TEST_F(SmallStringTest, AppendINT64_MIN) { - SCOPED_TRACE("AppendINT64_MIN"); - theString.clear(); - assertEmpty(theString); - theString.append_sint(INT64_MIN); - EXPECT_TRUE(0 == strcmp(theString.c_str(),"-9223372036854775808")); -} - }