Lines Matching refs:odds
626 std::vector<int> odds, evens; in TEST() local
627 auto ends = absl::c_partition_copy(initial, back_inserter(odds), in TEST()
631 EXPECT_THAT(odds, ElementsAre(1, 3, 5, 7)); in TEST()
746 std::vector<int> odds = {2, 4, 6}; in TEST() local
748 absl::c_swap_ranges(odds, evens); in TEST()
749 EXPECT_THAT(odds, ElementsAre(1, 3, 5)); in TEST()
752 odds.pop_back(); in TEST()
753 absl::c_swap_ranges(odds, evens); in TEST()
754 EXPECT_THAT(odds, ElementsAre(2, 4)); in TEST()
757 absl::c_swap_ranges(evens, odds); in TEST()
758 EXPECT_THAT(odds, ElementsAre(1, 3)); in TEST()