code: def test_openfoam_cell_to_point_default():
      reader = get_cavity_reader()
      mesh = reader.read()
      assert reader.cell_to_point_creation is True
      assert mesh[0].n_arrays == 4
  
      reader = get_cavity_reader()
      reader.cell_to_point_creation = False
      assert reader.cell_to_point_creation is False
      mesh = reader.read()
      assert mesh[0].n_arrays == 2
  
      reader = get_cavity_reader()
      mesh = reader.read()
      reader.cell_to_point_creation = True
      assert reader.cell_to_point_creation is True
      assert mesh[0].n_arrays == 4
  
imports: import os
  import platform
  import numpy
  import pytest
  import pyvista
  from pyvista import examples
  from pyvista.core.utilities.fileio import _try_imageio_imread
  from pyvista.examples.downloads import download_file
label_desc: Use image node_id 33 for calling a global function with example usage: test_openfoam_cell_to_point_default() without return types