Lines Matching refs:IntPair
152 using IntPair = std::pair<int, int>; typedef
153 using IntPairTree = flat_tree<IntPair,
154 IntPair,
155 GetKeyFromValueIdentity<IntPair>,
156 LessByFirst<IntPair>>;
358 IntPair input_vals[] = {{1, 1}, {1, 2}, {2, 1}, {2, 2}, {1, 3}, in TEST()
364 ElementsAre(IntPair(1, 1), IntPair(2, 1), IntPair(3, 1))); in TEST()
370 ElementsAre(IntPair(1, 3), IntPair(2, 3), IntPair(3, 3))); in TEST()
439 std::vector<IntPair> int_storage{{1, 1}, {1, 2}, {2, 1}}; in TEST()
441 EXPECT_THAT(int_tree, ElementsAre(IntPair(1, 2), IntPair(2, 1))); in TEST()
464 EXPECT_THAT(first_of, ElementsAre(IntPair(1, 1), IntPair(2, 1))); in TEST()
468 EXPECT_THAT(last_of, ElementsAre(IntPair(1, 2), IntPair(2, 1))); in TEST()
766 flat_tree<int, IntPair, GetKeyFromIntIntPair, std::less<int>>; in TEST()
770 IntPair int_pairs[] = {{3, 1}, {1, 1}, {4, 1}, {2, 1}}; in TEST()
772 EXPECT_THAT(cont, ElementsAre(IntPair(1, 1), IntPair(2, 1), IntPair(3, 1), in TEST()
773 IntPair(4, 1))); in TEST()
778 std::vector<IntPair> int_pairs; in TEST()
780 EXPECT_THAT(cont, ElementsAre(IntPair(1, 1), IntPair(2, 1), IntPair(3, 1), in TEST()
781 IntPair(4, 1))); in TEST()
786 IntPair int_pairs[] = {{1, 1}}; in TEST()
788 EXPECT_THAT(cont, ElementsAre(IntPair(1, 1), IntPair(2, 1), IntPair(3, 1), in TEST()
789 IntPair(4, 1))); in TEST()
794 IntPair int_pairs[] = {{1, 2}}; in TEST()
796 EXPECT_THAT(cont, ElementsAre(IntPair(1, 2), IntPair(2, 1), IntPair(3, 1), in TEST()
797 IntPair(4, 1))); in TEST()
802 IntPair int_pairs[] = {{5, 1}}; in TEST()
804 EXPECT_THAT(cont, ElementsAre(IntPair(1, 1), IntPair(2, 1), IntPair(3, 1), in TEST()
805 IntPair(4, 1), IntPair(5, 1))); in TEST()
810 IntPair int_pairs[] = {{5, 1}}; in TEST()
812 EXPECT_THAT(cont, ElementsAre(IntPair(1, 1), IntPair(2, 1), IntPair(3, 1), in TEST()
813 IntPair(4, 1), IntPair(5, 1))); in TEST()
818 IntPair int_pairs[] = {{3, 2}, {1, 2}, {4, 2}, {2, 2}}; in TEST()
820 EXPECT_THAT(cont, ElementsAre(IntPair(1, 1), IntPair(2, 1), IntPair(3, 1), in TEST()
821 IntPair(4, 1))); in TEST()
826 IntPair int_pairs[] = {{3, 2}, {1, 2}, {4, 2}, {2, 2}}; in TEST()
828 EXPECT_THAT(cont, ElementsAre(IntPair(1, 2), IntPair(2, 2), IntPair(3, 2), in TEST()
829 IntPair(4, 2))); in TEST()
834 IntPair int_pairs[] = {{3, 2}, {1, 2}, {4, 2}, {2, 2}, {7, 2}, {6, 2}, in TEST()
837 EXPECT_THAT(cont, ElementsAre(IntPair(1, 1), IntPair(2, 1), IntPair(3, 1), in TEST()
838 IntPair(4, 1), IntPair(5, 2), IntPair(6, 2), in TEST()
839 IntPair(7, 2), IntPair(8, 2))); in TEST()
844 IntPair int_pairs[] = {{3, 2}, {1, 2}, {4, 2}, {2, 2}, {7, 2}, {6, 2}, in TEST()
847 EXPECT_THAT(cont, ElementsAre(IntPair(1, 2), IntPair(2, 2), IntPair(3, 2), in TEST()
848 IntPair(4, 2), IntPair(5, 3), IntPair(6, 3), in TEST()
849 IntPair(7, 3), IntPair(8, 3))); in TEST()