code: def test_checked_values():
      cs = CoordinateSystem(
          "ijk", name="voxels", coord_dtype=np.float32
      )
      x = np.array([1, 2, 3], dtype=np.int16)
      xc = cs._checked_values(x)
      np.allclose(xc, x)
      # wrong shape
      pytest.raises(
          CoordinateSystemError, cs._checked_values, x.reshape(3, 1)
      )
      # wrong length
      pytest.raises(CoordinateSystemError, cs._checked_values, x[0:2])
      # wrong dtype
      x = np.array([1, 2, 3], dtype=np.float64)
      pytest.raises(CoordinateSystemError, cs._checked_values, x)
  
imports: from types import SimpleNamespace
  import numpy
  import pytest
  from ..coordinate_system import CoordinateSystem, CoordinateSystemError, CoordSysMaker, CoordSysMakerError, is_coordsys, is_coordsys_maker, product, safe_dtype
label_desc: Use image node_id 14 for calling a global function with example usage: test_checked_values() without return types