code: def test__map_cyclic():
      x = np.array([1.5, 2.6, 0.1, 4.4, 10.7])
      x_orig = np.copy(x)
      expected_mapped_x = np.array([3.0, 2.6, 3.1, 2.9, 3.2])
      mapped_x = _map_cyclic(x, 2.1, 3.6)
      assert np.allclose(x, x_orig)
      assert np.allclose(mapped_x, expected_mapped_x)
  
imports: import numpy
  from patsy.util import have_pandas, atleast_2d_column_default, no_pickling, assert_no_pickling, safe_string_eq
  from patsy.state import stateful_transform
label_desc: Use image node_id 3 for calling a global function with example usage: test__map_cyclic() without return types