Skip to content

Commit a203282

Browse files
committed
tests: fixed tests
1 parent 26cef14 commit a203282

File tree

1 file changed

+57
-12
lines changed

1 file changed

+57
-12
lines changed

tests/test_data.py

Lines changed: 57 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2897,17 +2897,32 @@ class Test_FromMcnp(_utils._Test_FromMcnp):
28972897
EXAMPLES_INVALID = []
28982898

28992899

2900-
class Test_SdefErg:
2900+
class Test_SdefErg_0:
29012901
"""
2902-
Tests ``SdefErg``.
2902+
Tests ``SdefErg_0``.
29032903
"""
29042904

29052905
class Test_FromMcnp(_utils._Test_FromMcnp):
29062906
"""
2907-
Tests ``SdefErg.from_mcnp``.
2907+
Tests ``SdefErg_0.from_mcnp``.
29082908
"""
29092909

2910-
element = pymcnp.inp.data.sdef.Erg
2910+
element = pymcnp.inp.data.sdef.Erg_0
2911+
EXAMPLES_VALID = []
2912+
EXAMPLES_INVALID = []
2913+
2914+
2915+
class Test_SdefErg_1:
2916+
"""
2917+
Tests ``SdefErg_1``.
2918+
"""
2919+
2920+
class Test_FromMcnp(_utils._Test_FromMcnp):
2921+
"""
2922+
Tests ``SdefErg_1.from_mcnp``.
2923+
"""
2924+
2925+
element = pymcnp.inp.data.sdef.Erg_1
29112926
EXAMPLES_VALID = []
29122927
EXAMPLES_INVALID = []
29132928

@@ -2942,17 +2957,32 @@ class Test_FromMcnp(_utils._Test_FromMcnp):
29422957
EXAMPLES_INVALID = []
29432958

29442959

2945-
class Test_SdefDir:
2960+
class Test_SdefDir_0:
29462961
"""
2947-
Tests ``SdefDir``.
2962+
Tests ``SdefDir_0``.
29482963
"""
29492964

29502965
class Test_FromMcnp(_utils._Test_FromMcnp):
29512966
"""
2952-
Tests ``SdefDir.from_mcnp``.
2967+
Tests ``SdefDir_0.from_mcnp``.
29532968
"""
29542969

2955-
element = pymcnp.inp.data.sdef.Dir
2970+
element = pymcnp.inp.data.sdef.Dir_0
2971+
EXAMPLES_VALID = []
2972+
EXAMPLES_INVALID = []
2973+
2974+
2975+
class Test_SdefDir_1:
2976+
"""
2977+
Tests ``SdefDir_1``.
2978+
"""
2979+
2980+
class Test_FromMcnp(_utils._Test_FromMcnp):
2981+
"""
2982+
Tests ``SdefDir_1.from_mcnp``.
2983+
"""
2984+
2985+
element = pymcnp.inp.data.sdef.Dir_1
29562986
EXAMPLES_VALID = []
29572987
EXAMPLES_INVALID = []
29582988

@@ -3002,17 +3032,32 @@ class Test_FromMcnp(_utils._Test_FromMcnp):
30023032
EXAMPLES_INVALID = []
30033033

30043034

3005-
class Test_SdefRad:
3035+
class Test_SdefRad_0:
3036+
"""
3037+
Tests ``SdefRad_0``.
3038+
"""
3039+
3040+
class Test_FromMcnp(_utils._Test_FromMcnp):
3041+
"""
3042+
Tests ``SdefRad_0.from_mcnp``.
3043+
"""
3044+
3045+
element = pymcnp.inp.data.sdef.Rad_0
3046+
EXAMPLES_VALID = []
3047+
EXAMPLES_INVALID = []
3048+
3049+
3050+
class Test_SdefRad_1:
30063051
"""
3007-
Tests ``SdefRad``.
3052+
Tests ``SdefRad_1``.
30083053
"""
30093054

30103055
class Test_FromMcnp(_utils._Test_FromMcnp):
30113056
"""
3012-
Tests ``SdefRad.from_mcnp``.
3057+
Tests ``SdefRad_1.from_mcnp``.
30133058
"""
30143059

3015-
element = pymcnp.inp.data.sdef.Rad
3060+
element = pymcnp.inp.data.sdef.Rad_1
30163061
EXAMPLES_VALID = []
30173062
EXAMPLES_INVALID = []
30183063

0 commit comments

Comments
 (0)