code: def test_load(self):
      # Check highest level load of minc works
      img = self.opener(self.example_params["fname"])
      assert img.shape == self.example_params["shape"]
      assert_almost_equal(
          img.header.get_zooms(), self.example_params["zooms"], 5
      )
      assert_almost_equal(img.affine, self.example_params["affine"], 4)
      assert img.get_data_dtype().type == self.example_params["type"]
      # Check correspondence of data and recorded shape
      data = img.get_fdata()
      assert data.shape == self.example_params["shape"]
      # min, max, mean values from read in SPM2
      assert_almost_equal(data.min(), self.example_params["min"], 4)
      assert_almost_equal(data.max(), self.example_params["max"], 4)
      assert_almost_equal(data.mean(), self.example_params["mean"], 4)
      # check if mnc can be converted to nifti
      ni_img = Nifti1Image.from_image(img)
      assert_almost_equal(
          ni_img.affine, self.example_params["affine"], 2
      )
      assert_array_equal(ni_img.get_fdata(), data)
  
imports: import os
  from os.path import join
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from ..None import Nifti1Image
  from ..None import load
  from ..optpkg import optional_package
  from .nibabel_data import get_nibabel_data, needs_nibabel_data
label_desc: Use image node_id 1 for calling the TestEPIFrame obj's underlying member method code with example usage: obj.test_load() without return types