[test][algorithms][distance] add test case for open polygon and linestring
where the distance is materialized between the linestring and the last (implicit)
segment of the polygon
Merge pull request #148 from mkaravel/fix/distance

[test][algorithms][distance] add test case for open polygon and linestring