code: def test_brikheadfile(self):
      for tp in self.test_files:
          brik = self.module.load(tp["fname"])
          assert brik.get_data_dtype().type == tp["dtype"]
          assert brik.shape == tp["shape"]
          assert brik.header.get_zooms() == tp["zooms"]
          assert_array_equal(brik.affine, tp["affine"])
          assert brik.header.get_space() == tp["space"]
          data = brik.get_fdata()
          assert data.shape == tp["shape"]
          assert_array_equal(brik.dataobj.scaling, tp["scaling"])
          assert brik.header.get_volume_labels() == tp["labels"]
  
file_path: nibabel/nibabel/tests/test_brikhead.py
imports: from os.path import join
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ..None import Nifti1Image, brikhead, load
  from ..testing import assert_data_similar, data_path
  from .test_fileslice import slicer_samples
label_desc: Use image node_id 1 for calling the TestAFNIImage obj's underlying member method code with example usage: obj.test_brikheadfile() without return types