Skip to content

Commit 1143f83

Browse files
committed
Update tests
1 parent 99fdd8c commit 1143f83

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
yield,sigma yield,half_life,sigma half_life
2-
0.0005162918984856003,0.0,55.62465296410721,0.0
3-
0.002864771019369677,0.0,23.84650860822269,0.0
4-
0.0014471847819314463,0.0,11.889529589088033,0.0
5-
0.006105739898122469,0.0,3.356343295516046,0.0
6-
0.006286849352532197,0.0,1.1827383444309043,0.0
7-
0.005089588870204594,0.0,0.25162040090512916,0.0
2+
0.0005156464629593298,8.911086134633929e-06,55.630789505741056,0.10744372351266772
3+
0.0027130617812592536,0.000892059489464027,24.08741036464691,1.5488840265126704
4+
0.0013441342984961348,0.0004986377174727079,13.592080411515989,7.081251884336097
5+
0.004860139208917222,0.002902625590644891,3.93036834486924,1.6294473504680749
6+
0.007117074544816406,0.002478519907896218,1.465730857398198,0.6627095032901615
7+
0.005724974215352729,0.0016620469377119497,0.28142389999905515,0.10143226211450428
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
yield,sigma yield,half_life,sigma half_life
2-
0.0027670938277992644,0.0,100.00032226230205,0.0
3-
0.001808229833297253,0.0,100.00001124656504,0.0
4-
0.025115593337016472,0.0,99.99998928068548,0.0
5-
0.03686459857536383,0.0,99.99998256174113,0.0
6-
0.00048066432466817093,0.0,55.63999999155181,0.0
7-
1.969188540775993e-34,0.0,0.015742210441099858,0.0
2+
0.017041046384118918,0.0008639306035223001,100.00002156583514,0.7105732355010584
3+
0.023208159409418318,0.0015006999802943087,100.00000137754972,0.9643684037931216
4+
0.026306309779646958,0.0020084692350241223,99.99998481445586,1.0901694722667574
5+
0.000480664324960716,0.0026450127278598006,55.63999999928929,124.46097264385004
6+
5.299596851593809e-19,0.00012416985948099173,0.03390599072372068,0.0
7+
2.5919968863362528e-16,0.0002802871597496036,0.003479308082222027,0.0
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
yield,sigma yield,half_life,sigma half_life
2-
3.456554019171124e-18,0.0,809.6667196702095,0.0
3-
0.0009100395326799122,0.0,99.99999999999302,0.0
4-
0.00048066432498543305,0.0,55.63999999994391,0.0
5-
8.340483274520027e-18,0.0,7.658912731435805,0.0
6-
9.51551153689195e-17,0.0,0.04037307607621659,0.0
7-
1.624679817821058e-17,0.0,0.002240913265619474,0.0
2+
0.0009100395326809338,0.00014742186112088321,99.99999999996918,3.3005310142579027
3+
0.000480664324984455,7.541173974724392e-05,55.639999999886726,12.14143731510436
4+
4.382957100299692e-20,9.52310664177452e-05,30.39395915944596,0.0
5+
1.7380910115301536e-23,8.101347375691564e-06,0.037400631004347595,0.0
6+
2.1897841624766575e-17,0.000974665610880612,0.001671243962714721,0.0
7+
1.2364105579752574e-22,0.0009707072037016715,0.0010061261102621032,0.0

tests/unit/test_concentrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def test_concentrations_init():
1010
input_path = './tests/unit/input/input.json'
1111
conc = Concentrations(input_path)
1212
assert conc.input_path == input_path, f"Expected input path {input_path}, but got {conc.input_path}"
13-
assert conc.output_dir == './tests/unit/output', f"Expected output directory './tests/unit/output', but got {conc.output_dir}"
13+
assert conc.output_dir == './tests/unit/output/', f"Expected output directory './tests/unit/output/', but got {conc.output_dir}"
1414
assert conc.energy_MeV == 1.0, f"Expected energy 1.0, but got {conc.energy_MeV}"
1515
assert conc.fissiles == {'U235': 0.8, 'U238': 0.2}, f"Expected fissile targets {{'U235': 0.8, 'U238': 0.2}}, but got {conc.fissiles}"
1616

tests/unit/test_countrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def test_countrate_init():
77
input_path = './tests/unit/input/input.json'
88
countrate = CountRate(input_path)
99
assert countrate.input_path == input_path, f"Expected input path {input_path}, but got {countrate.input_path}"
10-
assert countrate.output_dir == './tests/unit/output', f"Expected output directory './tests/unit/output', but got {countrate.output_dir}"
10+
assert countrate.output_dir == './tests/unit/output/', f"Expected output directory './tests/unit/output/', but got {countrate.output_dir}"
1111
assert countrate.energy_MeV == 1.0, f"Expected energy 1.0, but got {countrate.energy_MeV}"
1212
assert countrate.fissiles == {'U235': 0.8, 'U238': 0.2}, f"Expected fissile targets {{'U235': 0.8, 'U238': 0.2}}, but got {countrate.fissiles}"
1313

0 commit comments

Comments
 (0)