code: def test_call(eg_cmaps):
      value = 10
      assert np.allclose(eg_cmaps.a(value), 2 * value)
      assert np.allclose(eg_cmaps.b(value), 2 * value)
      # FIXME: this shape just below is not
      # really expected for a CoordinateMap
      assert np.allclose(eg_cmaps.b([value]), 2 * value)
      assert np.allclose(eg_cmaps.c(value), value / 2)
      assert np.allclose(eg_cmaps.d(value), value / 2)
      value = np.array([1.0, 2.0, 3.0])
      assert np.allclose(eg_cmaps.e(value), value)
      # check that error raised for wrong shape
      value = np.array(
          [
              1.0,
              2.0,
          ]
      )
      pytest.raises(CoordinateSystemError, eg_cmaps.e, value)
  
imports: from copy import copy
  from types import SimpleNamespace
  import numpy
  from ..coordinate_map import AffineTransform, AxisError, CoordinateMap, CoordMapMaker, CoordMapMakerError, _as_coordinate_map, _fix0, append_io_dim, axmap, compose, drop_io_dim, equivalent, input_axis_index, io_axis_indices, orth_axes, product, shifted_domain_origin, shifted_range_origin
  from ..coordinate_system import CoordinateSystem, CoordinateSystemError, CoordSysMaker
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_call(eg_cmaps) without return types