116 std::vector<std::vector<std::uint32_t>> primary_preferences = {
117 {0, 1, 2, 3}, {2, 1, 3, 0}, {1, 2, 0, 3}, {3, 0, 1, 2}};
118 std::vector<std::vector<std::uint32_t>> secondary_preferences = {
119 {1, 0, 2, 3}, {3, 0, 1, 2}, {0, 2, 1, 3}, {1, 2, 0, 3}};
121 secondary_preferences, primary_preferences) ==
122 std::vector<std::uint32_t>({0, 2, 1, 3}));
125 primary_preferences = {
126 {0, 2, 1, 3}, {2, 3, 0, 1}, {3, 1, 2, 0}, {2, 1, 0, 3}};
127 secondary_preferences = {
128 {1, 0, 2, 3}, {3, 0, 1, 2}, {0, 2, 1, 3}, {1, 2, 0, 3}};
130 secondary_preferences, primary_preferences) ==
131 std::vector<std::uint32_t>({0, 3, 1, 2}));
134 primary_preferences = {{0, 1, 2}, {2, 1, 0}, {1, 2, 0}};
135 secondary_preferences = {{1, 0, 2}, {2, 0, 1}, {0, 2, 1}};
137 secondary_preferences, primary_preferences) ==
138 std::vector<std::uint32_t>({0, 2, 1}));
141 primary_preferences = {};
142 secondary_preferences = {};
144 secondary_preferences, primary_preferences) ==
145 std::vector<std::uint32_t>({}));