OpenMC/tests/regression_tests/statepoint_batch/test.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
510 B
Python
Raw Permalink Normal View History

from tests.testing_harness import TestHarness
class StatepointTestHarness(TestHarness):
def __init__(self):
super().__init__(None)
def _test_output_created(self):
"""Make sure statepoint files have been created."""
sps = ('statepoint.03.h5', 'statepoint.06.h5', 'statepoint.09.h5')
for sp in sps:
self._sp_name = sp
TestHarness._test_output_created(self)
2013-08-12 16:35:13 -04:00
2014-02-25 13:21:54 -05:00
def test_statepoint_batch():
harness = StatepointTestHarness()
harness.main()