code: def test_mapping(self):
      self.assertEqual(
          to_mapping(geojson.Point([1.0, 2.0])),
          {"coordinates": [1.0, 2.0], "type": "Point"},
      )
  
file_path: geojson/tests/test_geo_interface.py
imports: import unittest
  import geojson
  from geojson.mapping import to_mapping
label_desc: Use image node_id 7 for calling the EncodingDecodingTest obj's underlying member method code with example usage: obj.test_mapping() without return types