code: def test_ice_dims():
      ex_dims0 = [
          "X",
          "1",
          "1",
          "1",
          "1",
          "1",
          "1",
          "48",
          "1",
          "1",
          "1",
          "1",
          "201",
      ]
      ex_dims1 = [
          "X",
          "1",
          "1",
          "1",
          "2",
          "1",
          "1",
          "48",
          "1",
          "1",
          "1",
          "1",
          "201",
      ]
      for csa_str, ex_dims in (
          (CSA2_B0, ex_dims0),
          (CSA2_B1000, ex_dims1),
      ):
          csa_info = csa.read(csa_str)
          assert csa.get_ice_dims(csa_info) == ex_dims
      assert csa.get_ice_dims({}) is None
  
file_path: nibabel/nibabel/nicom/tests/test_csareader.py
imports: import gzip
  import sys
  from copy import deepcopy
  from os.path import join
  import numpy
  import pytest
  from ..None import csareader
  from ..None import dwiparams
  from .None import dicom_test, pydicom
  from .test_dicomwrappers import DATA, IO_DATA_PATH
label_desc: Use image node_id 6 for calling a global function with example usage: test_ice_dims() without return types