Lines Matching refs:compare
92 test_value(str_0.compare(str_1), gt); //because r>m in test01()
93 test_value(str_1.compare(str_0), lt); //because m<r in test01()
95 test_value(str_2.compare(str_0), z); in test01()
97 test_value(str_2.compare(str_0), lt); in test01()
99 test_value(str_2.compare(str_0), gt); in test01()
102 test_value(str_1.compare(0, 6, str_0), lt); in test01()
104 test_value(str_1.compare(0, 4, str_2), z); in test01()
105 test_value(str_1.compare(0, 5, str_2), gt); in test01()
109 test_value(str_1.compare(0, 6, str_0, 0, 6), z); in test01()
110 test_value(str_1.compare(0, 7, str_0, 0, 7), lt); in test01()
111 test_value(str_0.compare(0, 7, str_1, 0, 7), gt); in test01()
114 test_value(str_0.compare("costa marbella"), gt); in test01()
115 test_value(str_1.compare("costa rica"), lt); in test01()
117 test_value(str_2.compare("costa rica"), z); in test01()
118 test_value(str_2.compare("cost"), gt); in test01()
119 test_value(str_2.compare("costa ricans"), lt); in test01()
123 test_value(str_1.compare(0, 6, "costa rica", 0, 6), z); in test01()
124 test_value(str_1.compare(0, 7, "costa rica", 0, 7), lt); in test01()
125 test_value(str_0.compare(0, 7, "costa marbella", 0, 7), gt); in test01()