code: def test_map_linestring(self):
      g = geojson.LineString(
          [(3.78, 9.28), (-130.91, 1.52), (35.12, 72.234), (3.78, 9.28)]
      )
      result = map_coords(lambda x: x, g)
      self.assertEqual(result["type"], "LineString")
      self.assertEqual(result["coordinates"][0], (3.78, 9.28))
      self.assertEqual(result["coordinates"][-1], (3.78, 9.28))
  
file_path: geojson/tests/test_coords.py
imports: import unittest
  import geojson
  from geojson.utils import coords, map_coords
label_desc: Use image node_id 9 for calling the CoordsTestCase obj's underlying member method code with example usage: obj.test_map_linestring() without return types