Skip to content

Commit 4801f74

Browse files
committed
Add test for prolate spheroid
1 parent ed2c088 commit 4801f74

File tree

2 files changed

+4009
-0
lines changed

2 files changed

+4009
-0
lines changed

tests/test_morphshape.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ class TestMorphSpheroid:
4848
# FIXME: add test data for prolate spheroids
4949
config_sphere = {"radius": 17.5, "pradius": 17.5}
5050
config_oblate = {"radius": 17.5, "pradius": 5.0}
51+
config_prolate = {"radius": 5.0, "pradius": 17.5}
5152
spheroid_configs = [config_sphere, config_oblate]
5253
iconfig_sphere = {"iradius": 17.5, "ipradius": 17.5}
5354
iconfig_oblate = {"iradius": 17.5, "ipradius": 5.0}
55+
iconfig_prolate = {"iradius": 5.0, "ipradius": 17.5}
5456
ispheroid_configs = [iconfig_sphere, iconfig_oblate]
5557

5658
# Files used for testing
@@ -60,6 +62,7 @@ class TestMorphSpheroid:
6062
testfiles = [
6163
["ni_qmax25.cgr", "ni_qmax25_psize35.cgr"], # Sphere
6264
["ni_qmax25.cgr", "ni_qmax25_e17.5_p5.0.cgr"], # Oblate spheroid
65+
["ni_qmax25.cgr", "ni_qmax25_e5.0_p17.5.cgr"], # Prolate spheroid
6366
]
6467
testfile = [] # Initialize testfile array
6568

0 commit comments

Comments
 (0)