OpenMC/tests/regression_tests/mg_nuclide/test.py

9 lines
226 B
Python

from openmc.examples import slab_mg
from tests.testing_harness import PyAPITestHarness
def test_mg_nuclide():
model = slab_mg(as_macro=False)
harness = PyAPITestHarness('statepoint.10.h5', model)
harness.main()