class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer

def reciprocal_single_match?(matches, index, other_list)

def reciprocal_single_match?(matches, index, other_list)
  return false unless matches.one?
  other_list[matches.first] == [index]
end