mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-24 20:15:26 -04:00
18 lines
510 B
Python
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()
|