Rename some tests
This commit is contained in:
@@ -209,67 +209,67 @@ TEST(PIString_Tests, operator_symbol){
|
||||
ASSERT_EQ(symbo, str1[4]);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_compare_pistring_true){
|
||||
TEST(PIString_Tests, operator_equal_pistring_true){
|
||||
PIString str1 = "testing";
|
||||
PIString str2 = "testing";
|
||||
ASSERT_TRUE(str1 == str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_compare_pistring_false){
|
||||
TEST(PIString_Tests, operator_equal_pistring_false){
|
||||
PIString str1 = "tes";
|
||||
PIString str2 = "testing";
|
||||
ASSERT_FALSE(str1 == str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_compare_pichar_true){
|
||||
TEST(PIString_Tests, operator_equal_pichar_true){
|
||||
PIString str1 = "t";
|
||||
PIChar str2 = "t";
|
||||
ASSERT_TRUE(str1 == str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_compare_pichar_false){
|
||||
TEST(PIString_Tests, operator_equal_pichar_false){
|
||||
PIString str1 = "t";
|
||||
PIChar str2 = "p";
|
||||
ASSERT_FALSE(str1 == str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_compare_char_true){
|
||||
TEST(PIString_Tests, operator_equal_cstring_true){
|
||||
PIString str1 = "test";
|
||||
char str2[] = "test";
|
||||
ASSERT_TRUE(str1 == str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_compare_char_false){
|
||||
TEST(PIString_Tests, operator_equal_cstring_false){
|
||||
PIString str1 = "t";
|
||||
char str2[] = "test";
|
||||
ASSERT_FALSE(str1 == str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_enq_compare_pistring_false){
|
||||
TEST(PIString_Tests, operator_not_equal_pistring_false){
|
||||
PIString str1 = "testing";
|
||||
PIString str2 = "testing";
|
||||
ASSERT_FALSE(str1 != str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_enq_compare_pistring_true){
|
||||
TEST(PIString_Tests, operator_not_equal_pistring_true){
|
||||
PIString str1 = "tes";
|
||||
PIString str2 = "testing";
|
||||
ASSERT_TRUE(str1 != str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_enq_compare_pichar_false){
|
||||
TEST(PIString_Tests, operator_not_equal_pichar_false){
|
||||
PIString str1 = "t";
|
||||
PIChar str2 = "t";
|
||||
ASSERT_FALSE(str1 != str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_enq_compare_pichar_true){
|
||||
TEST(PIString_Tests, operator_not_equal_pichar_true){
|
||||
PIString str1 = "t";
|
||||
PIChar str2 = "p";
|
||||
ASSERT_TRUE(str1 != str2);
|
||||
}
|
||||
|
||||
TEST(PIString_Tests, operator_enq_compare_char_false){
|
||||
TEST(PIString_Tests, operator_not_equal_cstring_false){
|
||||
PIString str1 = "test";
|
||||
char str2[] = "test";
|
||||
ASSERT_FALSE(str1 != str2);
|
||||
|
||||
Reference in New Issue
Block a user