From 7069c5db315be9f2a756d6e5d8cc295d7be474a0 Mon Sep 17 00:00:00 2001 From: Adam Nelson Date: Fri, 17 Feb 2017 07:48:45 -0500 Subject: [PATCH] lessened the number of particles used in test_mg_convert and reduced the number of cases by 2 --- tests/test_mg_convert/inputs_true.dat | 2 +- tests/test_mg_convert/results_true.dat | 28 ++++++++++-------------- tests/test_mg_convert/test_mg_convert.py | 5 ++--- 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/tests/test_mg_convert/inputs_true.dat b/tests/test_mg_convert/inputs_true.dat index 9b0b0f4b17..95ad615867 100644 --- a/tests/test_mg_convert/inputs_true.dat +++ b/tests/test_mg_convert/inputs_true.dat @@ -18,7 +18,7 @@ 1000 - 2000 + 1000 100 diff --git a/tests/test_mg_convert/results_true.dat b/tests/test_mg_convert/results_true.dat index 5cf0eb6d26..cf4777b8eb 100644 --- a/tests/test_mg_convert/results_true.dat +++ b/tests/test_mg_convert/results_true.dat @@ -1,28 +1,24 @@ k-combined: -9.957263E-01 5.469041E-05 +9.957366E-01 7.836427E-05 k-combined: -9.957263E-01 5.469041E-05 +9.963227E-01 8.010344E-05 k-combined: -9.963652E-01 5.444550E-05 +9.957366E-01 7.836427E-05 k-combined: -9.957263E-01 5.469041E-05 +9.955152E-01 8.132242E-05 k-combined: -9.955157E-01 5.785520E-05 +9.953937E-01 8.452497E-05 k-combined: -9.954023E-01 5.694553E-05 +9.957744E-01 8.816057E-05 k-combined: -9.955722E-01 6.075634E-05 +9.955332E-01 8.894390E-05 k-combined: -9.955692E-01 6.094480E-05 +9.956463E-01 8.378533E-05 k-combined: -9.955154E-01 5.775805E-05 +9.955875E-01 8.818927E-05 k-combined: -9.956787E-01 5.915112E-05 +9.957017E-01 8.726677E-05 k-combined: -9.957022E-01 5.952369E-05 +9.957366E-01 7.836427E-05 k-combined: -9.953517E-01 5.920431E-05 -k-combined: -9.957263E-01 5.469041E-05 -k-combined: -9.957263E-01 5.469041E-05 +9.957366E-01 7.836427E-05 diff --git a/tests/test_mg_convert/test_mg_convert.py b/tests/test_mg_convert/test_mg_convert.py index c5c0ac16c7..ad86e5a508 100755 --- a/tests/test_mg_convert/test_mg_convert.py +++ b/tests/test_mg_convert/test_mg_convert.py @@ -11,7 +11,7 @@ from testing_harness import PyAPITestHarness import openmc # OpenMC simulation parameters -batches = 2000 +batches = 1000 inactive = 100 particles = 1000 @@ -123,7 +123,7 @@ class MGXSTestHarness(PyAPITestHarness): def _run_openmc(self): # Run multiple conversions to compare results - cases = [None, ['legendre', 2], ['legendre', 0], + cases = [['legendre', 2], ['legendre', 0], ['tabular', 33], ['histogram', 32], [['tabular', 33], ['legendre', 1]], [['tabular', 33], ['tabular', 3]], @@ -131,7 +131,6 @@ class MGXSTestHarness(PyAPITestHarness): [['histogram', 32], ['legendre', 1]], [['histogram', 32], ['tabular', 3]], [['histogram', 32], ['histogram', 16]], - [['histogram', 32], ['histogram', 128]], ['angle', 2], [['angle', 2], ['isotropic', None]]] outstr = ''