diff --git a/tests/test_iso_in_lab/inputs_true.dat b/tests/test_iso_in_lab/inputs_true.dat new file mode 100644 index 0000000000..9a21b06f1f --- /dev/null +++ b/tests/test_iso_in_lab/inputs_true.dat @@ -0,0 +1 @@ +e0409e0660d58857a6a96ff5cb539ccc41c82f0e443e8081ee00bbee7b6c81b0ad43c870950ae37d4a18c329067b09479a27aa171c3a3f5771f53b384496fe61 \ No newline at end of file diff --git a/tests/test_iso_in_lab/results_true.dat b/tests/test_iso_in_lab/results_true.dat new file mode 100644 index 0000000000..a860453c6a --- /dev/null +++ b/tests/test_iso_in_lab/results_true.dat @@ -0,0 +1,2 @@ +k-combined: +9.638451E-01 1.237712E-02 diff --git a/tests/test_iso_in_lab/test_iso_in_lab.py b/tests/test_iso_in_lab/test_iso_in_lab.py new file mode 100644 index 0000000000..b60daea117 --- /dev/null +++ b/tests/test_iso_in_lab/test_iso_in_lab.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python + +import os +import sys +import glob +import hashlib +sys.path.insert(0, os.pardir) +from testing_harness import PyAPITestHarness +import openmc +import openmc.mgxs + + +class IsoInLabTestHarness(PyAPITestHarness): + + def _build_inputs(self): + """Write input XML files with iso-in-lab scattering.""" + + self._input_set.build_default_materials_and_geometry() + self._input_set.build_default_settings() + self._input_set.materials.make_isotropic_in_lab() + self._input_set.export() + + +if __name__ == '__main__': + harness = IsoInLabTestHarness('statepoint.10.*') + harness.main()