Browse Source

Some minor whitespace cleanup.

Darryl Pogue 11 years ago committed by Anne Marije v/d Meer
parent
commit
0f08019616
  1. 5
      Sources/Tests/CoreTests/test_plString.cpp

5
Sources/Tests/CoreTests/test_plString.cpp

@ -45,7 +45,6 @@
TEST(PlStringTest,Format) TEST(PlStringTest,Format)
{ {
//string <256 characters //string <256 characters
plString expected1 = plString("abcd3"); plString expected1 = plString("abcd3");
plString output1 = plString::Format("a%c%s%d",'b',"cd",3); plString output1 = plString::Format("a%c%s%d",'b',"cd",3);
@ -74,7 +73,6 @@ TEST(PlStringTest,FindChar)
result = input.Find('B',plString::kCaseInsensitive); result = input.Find('B',plString::kCaseInsensitive);
EXPECT_EQ(1,result); EXPECT_EQ(1,result);
//unavailable char, case sensitive //unavailable char, case sensitive
result = input.Find('f',plString::kCaseSensitive); result = input.Find('f',plString::kCaseSensitive);
EXPECT_EQ(-1,result); EXPECT_EQ(-1,result);
@ -106,7 +104,6 @@ TEST(PlStringTest,FindLast)
result = input.FindLast('B',plString::kCaseInsensitive); result = input.FindLast('B',plString::kCaseInsensitive);
EXPECT_EQ(9,result); EXPECT_EQ(9,result);
//unavailable char, case sensitive //unavailable char, case sensitive
result = input.FindLast('f',plString::kCaseSensitive); result = input.FindLast('f',plString::kCaseSensitive);
EXPECT_EQ(-1,result); EXPECT_EQ(-1,result);
@ -138,7 +135,6 @@ TEST(PlStringTest,FindString)
result = input.Find("ab",plString::kCaseInsensitive); result = input.Find("ab",plString::kCaseInsensitive);
EXPECT_EQ(0,result); EXPECT_EQ(0,result);
//unavailable string, case sensitive //unavailable string, case sensitive
result = input.Find("cd",plString::kCaseSensitive); result = input.Find("cd",plString::kCaseSensitive);
EXPECT_EQ(-1,result); EXPECT_EQ(-1,result);
@ -196,6 +192,7 @@ TEST(PlStringTest,Trim)
plString output1 = input1.Trim("f"); plString output1 = input1.Trim("f");
EXPECT_EQ(input1,output1); EXPECT_EQ(input1,output1);
} }
TEST(PlStringTest,Substr) TEST(PlStringTest,Substr)
{ {
plString input = plString("abcdefgh"); plString input = plString("abcdefgh");

Loading…
Cancel
Save