OpenMC/tests/regression_tests/statepoint_batch/test.py
2019-10-28 11:55:45 -05:00

18 lines
510 B
Python

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)
def test_statepoint_batch():
harness = StatepointTestHarness()
harness.main()