'Testing line merge support'

def test_line_merge(self):

    ref_geoms = (fromstr(u'LINESTRING(1    1,    1    1,    3    3)'), fromstr(u'MULTILINESTRING((1    1,    3    3),    (3    3,    4    2))'))
    ref_merged = (fromstr(u'LINESTRING(1    1,    3    3)'), fromstr(u'LINESTRING    (1    1,    3    3,    4    2)'))
    for (geom, merged) in zip(ref_geoms, ref_merged):
        self.assertEqual(merged, geom.merged)
