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

def apply_pairing_to(indeterminates, original_matches, other_list_index)

def apply_pairing_to(indeterminates, original_matches, other_list_index)
  indeterminates.inject({}) do |accum, index|
    accum[index] = original_matches[index] - [other_list_index]
    accum
  end
end