Improve test naming
This commit is contained in:
@@ -31,14 +31,14 @@ TEST(PIString_Tests, operator_concatenation_pichar_zero1){
|
||||
ASSERT_EQ(str1, "D");
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_concatenation_char){
|
||||
TEST(PIString_Tests, operator_concatenation_cstring){
|
||||
PIString str1 = "AB C";
|
||||
const char *str2 = "D D ";
|
||||
str1 += str2;
|
||||
ASSERT_EQ(str1, "AB CD D ");
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_concatenation_char_zero1){
|
||||
TEST(PIString_Tests, operator_concatenation_cstring_zero1){
|
||||
PIString str1 = "";
|
||||
const char *str2 = "D D ";
|
||||
str1 += str2;
|
||||
@@ -130,19 +130,19 @@ TEST(PIString_Tests, construct_pistring_move){
|
||||
ASSERT_EQ(res, str);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, construct_pichar){
|
||||
TEST(PIString_Tests, construct_from_pichar){
|
||||
PIChar str1 = 'n';
|
||||
PIString res = "n";
|
||||
ASSERT_EQ(res, PIString(str1));
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, construct_char){
|
||||
TEST(PIString_Tests, construct_from_char){
|
||||
char str1 = 'n';
|
||||
PIString res = "n";
|
||||
ASSERT_EQ(res, PIString(str1));
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, construct_chars){
|
||||
TEST(PIString_Tests, construct_from_cstring){
|
||||
char str1[] = "mew";
|
||||
PIString res = "mew";
|
||||
ASSERT_EQ(res, PIString(str1));
|
||||
|
||||
Reference in New Issue
Block a user