Lines Matching refs:v2
213 oneapi::tbb::concurrent_vector<int> v1, v2(1ul, 100); in TestSequentialFor() local
215 REQUIRE(v1 == v2); in TestSequentialFor()
327 Vector v2; in TestGrowToAtLeastWithSourceParameter() local
328 v2.grow_to_at_least(vector_size,src); in TestGrowToAtLeastWithSourceParameter()
329 …REQUIRE_MESSAGE(v1==v2,"grow_to_at_least(vector_size,src) did not properly initialize new elements… in TestGrowToAtLeastWithSourceParameter()
1146 explicit throwing_foo(int v1, int v2) : value1 (v1), value2(v2) {} in throwing_foo()
1228 TVector v2(v.begin(), v.end(), std::allocator<ComplexType>()); in TestDeductionGuides() local
1229 static_assert(std::is_same<decltype(v2), in TestDeductionGuides()
1309 Vector v1, v2; in test_comparisons_basic() local
1310 testEqualityAndLessComparisons</*ExpectEqual = */true, /*ExpectLess = */false>(v1, v2); in test_comparisons_basic()
1313 testEqualityAndLessComparisons</*ExpectEqual = */false, /*ExpectLess = */false>(v1, v2); in test_comparisons_basic()
1315 v2.emplace_back(1); in test_comparisons_basic()
1316 testEqualityAndLessComparisons</*ExpectEqual = */true, /*ExpectLess = */false>(v1, v2); in test_comparisons_basic()
1318 v2.emplace_back(2); in test_comparisons_basic()
1319 testEqualityAndLessComparisons</*ExpectEqual = */false, /*ExpectLess = */true>(v1, v2); in test_comparisons_basic()
1322 v2.clear(); in test_comparisons_basic()
1323 testEqualityAndLessComparisons</*ExpectEqual = */true, /*ExpectLess = */false>(v1, v2); in test_comparisons_basic()
1328 TwoWayComparableVectorType v1, v2; in test_two_way_comparable_vector() local
1330 v2.emplace_back(1); in test_two_way_comparable_vector()
1332 REQUIRE_MESSAGE(!(v1 < v2), "Incorrect operator < result"); in test_two_way_comparable_vector()
1334 REQUIRE_MESSAGE(!(v1 > v2), "Incorrect operator > result"); in test_two_way_comparable_vector()
1336 REQUIRE_MESSAGE(v1 <= v2, "Incorrect operator <= result"); in test_two_way_comparable_vector()
1338 REQUIRE_MESSAGE(v1 >= v2, "Incorrect operator >= result"); in test_two_way_comparable_vector()
1345 ThreeWayComparableVectorType v1, v2; in test_three_way_comparable_vector() local
1347 v2.emplace_back(1); in test_three_way_comparable_vector()
1349 REQUIRE_MESSAGE(!(v1 <=> v2 < 0), "Incorrect operator<=> result"); in test_three_way_comparable_vector()
1352 REQUIRE_MESSAGE(!(v1 < v2), "Incorrect operator< result"); in test_three_way_comparable_vector()
1355 REQUIRE_MESSAGE(!(v1 > v2), "Incorrect operator> result"); in test_three_way_comparable_vector()
1358 REQUIRE_MESSAGE(v1 <= v2, "Incorrect operator>= result"); in test_three_way_comparable_vector()
1361 REQUIRE_MESSAGE(v1 >= v2, "Incorrect operator>= result"); in test_three_way_comparable_vector()