OpenMC/tests/regression_tests/mg_basic/test.py

9 lines
210 B
Python

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