import pytest

import meshio

from . import helpers


@pytest.mark.parametrize(
    "mesh",
    [
        # helpers.empty_mesh,
        helpers.tet_mesh
    ],
)
def test(mesh):
    def writer(*args, **kwargs):
        return meshio.cgns.write(*args, **kwargs)

    helpers.write_read(writer, meshio.cgns.read, mesh, 1.0e-15)
