Lines Matching refs:p1
86 const path p1(TC.LHS); in test_compare_basic() local
97 int ret1 = normalize_ret(p1.compare(p2)); in test_compare_basic()
98 int ret2 = normalize_ret(p1.compare(R)); in test_compare_basic()
99 int ret3 = normalize_ret(p1.compare(Ptr)); in test_compare_basic()
100 int ret4 = normalize_ret(p1.compare(RV)); in test_compare_basic()
109 ASSERT_NOEXCEPT(p1.compare(p2)); in test_compare_basic()
115 assert((p1 == p2) == (E == 0)); in test_compare_basic()
116 assert((p1 != p2) == (E != 0)); in test_compare_basic()
117 assert((p1 < p2) == (E < 0)); in test_compare_basic()
118 assert((p1 <= p2) == (E <= 0)); in test_compare_basic()
119 assert((p1 > p2) == (E > 0)); in test_compare_basic()
120 assert((p1 >= p2) == (E >= 0)); in test_compare_basic()
123 ASSERT_NOEXCEPT(p1 == p2); in test_compare_basic()
124 ASSERT_NOEXCEPT(p1 != p2); in test_compare_basic()
125 ASSERT_NOEXCEPT(p1 < p2); in test_compare_basic()
126 ASSERT_NOEXCEPT(p1 <= p2); in test_compare_basic()
127 ASSERT_NOEXCEPT(p1 > p2); in test_compare_basic()
128 ASSERT_NOEXCEPT(p1 >= p2); in test_compare_basic()
131 auto h1 = hash_value(p1); in test_compare_basic()
133 assert((h1 == h2) == (p1 == p2)); in test_compare_basic()
135 ASSERT_SAME_TYPE(size_t, decltype(hash_value(p1))); in test_compare_basic()
136 ASSERT_NOEXCEPT(hash_value(p1)); in test_compare_basic()