def test_merge_nearly_equal_detector_angle_pairs_4(self):
     pairs = [(1, 2.2), (1, 2), (1, 2), (1, 2.2)]
     assert_2darray_almost_equal(
         merge_nearly_equal_pairs(pairs), [(1, 2.2), (1, 2)])
 def test_merge_nearly_equal_detector_angle_pairs_4(self):
     pairs = [(1, 2.2), (1, 2), (1, 2), (1, 2.2)]
     assert_2darray_almost_equal(merge_nearly_equal_pairs(pairs), [(1, 2.2),
                                                                   (1, 2)])
 def test_merge_nearly_equal_detector_angle_pairs_different(self):
     pairs = [(1,2), (1,2.1)]
     assert_2darray_almost_equal(
         merge_nearly_equal_pairs(pairs), pairs)
 def test_merge_nearly_equal_detector_angle_pairs_different(self):
     pairs = [(1, 2), (1, 2.1)]
     assert_2darray_almost_equal(merge_nearly_equal_pairs(pairs), pairs)