Esempio n. 1
0
 def test_simple_edge_to_wkt(self):
     # Tests the conversion of a simple trace to a 3-D linestring
     expected = 'LINESTRING (10.5 10.5 1.0, 11.35 11.45 2.0)'
     self.assertEqual(conv.simple_edge_to_wkt_linestring(self.simple_edge),
                      expected)
 def test_simple_edge_to_wkt(self):
     # Tests the conversion of a simple trace to a 3-D linestring
     expected = 'LINESTRING (10.5 10.5 1.0, 11.35 11.45 2.0)'
     self.assertEqual(
         conv.simple_edge_to_wkt_linestring(self.simple_edge),
         expected)