Renamed regression tests for more clarity

This commit is contained in:
paul-ferney 2026-07-11 12:30:39 -06:00
parent 9986a1255b
commit 2fa19760f3
8 changed files with 24 additions and 24 deletions

View file

@ -7,7 +7,7 @@ from tests.testing_harness import PyAPITestHarness
@pytest.fixture()
def implicit_sphere_model():
def implicit_diamond_model():
# Material
material = openmc.Material()
material.add_nuclide('U235', 5.0)
@ -44,6 +44,6 @@ def implicit_sphere_model():
return model
def test_implicit_sphere(implicit_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_sphere_model)
def test_implicit_diamond(implicit_diamond_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_diamond_model)
harness.main()

View file

@ -8,7 +8,7 @@ from tests.testing_harness import PyAPITestHarness
@pytest.fixture()
def implicit_sphere_model():
def implicit_fuel_graded_model():
# Material
material = openmc.Material()
material.add_nuclide('U235', 1.0)
@ -47,6 +47,6 @@ def implicit_sphere_model():
return model
def test_implicit_sphere(implicit_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_sphere_model)
def test_implicit_fuel_graded(implicit_fuel_graded_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_fuel_graded_model)
harness.main()

View file

@ -8,7 +8,7 @@ from tests.testing_harness import PyAPITestHarness
@pytest.fixture()
def implicit_sphere_model():
def implicit_fuel_graded_nocache_model():
# Material
material = openmc.Material()
material.add_nuclide('U235', 1.0)
@ -47,6 +47,6 @@ def implicit_sphere_model():
return model
def test_implicit_sphere(implicit_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_sphere_model)
def test_implicit_fuel_graded_nocache(implicit_fuel_graded_nocache_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_fuel_graded_nocache_model)
harness.main()

View file

@ -7,7 +7,7 @@ from tests.testing_harness import PyAPITestHarness
@pytest.fixture()
def implicit_sphere_model():
def implicit_gyroid_model():
# Material
material = openmc.Material()
material.add_nuclide('U235', 5.0)
@ -42,6 +42,6 @@ def implicit_sphere_model():
return model
def test_implicit_sphere(implicit_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_sphere_model)
def test_implicit_gyroid(implicit_gyroid_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_gyroid_model)
harness.main()

View file

@ -7,7 +7,7 @@ from tests.testing_harness import PyAPITestHarness
@pytest.fixture()
def implicit_sphere_model():
def implicit_primitive_model():
# Material
material = openmc.Material()
material.add_nuclide('U235', 5.0)
@ -42,6 +42,6 @@ def implicit_sphere_model():
return model
def test_implicit_sphere(implicit_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_sphere_model)
def test_implicit_primitive(implicit_primitive_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_primitive_model)
harness.main()

View file

@ -7,7 +7,7 @@ from tests.testing_harness import PyAPITestHarness
@pytest.fixture()
def implicit_sphere_model():
def classic_sphere_model():
# Material
material = openmc.Material()
material.add_nuclide('U235', 1.0)
@ -34,6 +34,6 @@ def implicit_sphere_model():
return model
def test_implicit_sphere(implicit_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_sphere_model)
def test_classic_sphere(classic_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=classic_sphere_model)
harness.main()

View file

@ -8,7 +8,7 @@ from tests.testing_harness import PyAPITestHarness
@pytest.fixture()
def implicit_sphere_model():
def implicit_square_circle_fit_model():
# Material
material = openmc.Material()
material.add_nuclide('U235', 1.0)
@ -53,6 +53,6 @@ def implicit_sphere_model():
return model
def test_implicit_sphere(implicit_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_sphere_model)
def test_implicit_square_circle_fit(implicit_square_circle_fit_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_square_circle_fit_model)
harness.main()

View file

@ -8,7 +8,7 @@ from tests.testing_harness import PyAPITestHarness
@pytest.fixture()
def implicit_sphere_model():
def implicit_squircle_model():
# Material
material = openmc.Material()
material.add_nuclide('U235', 1.0)
@ -51,6 +51,6 @@ def implicit_sphere_model():
return model
def test_implicit_sphere(implicit_sphere_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_sphere_model)
def test_implicit_squircle(implicit_squircle_model):
harness = PyAPITestHarness('statepoint.20.h5', model=implicit_squircle_model)
harness.main()