mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
[skip ci] pep8 def spaces
This commit is contained in:
parent
8c72e4b7b0
commit
7004ff5467
1 changed files with 2 additions and 0 deletions
|
|
@ -242,11 +242,13 @@ def test_first_moment(run_in_tmpdir, box_model):
|
|||
assert first_score(sph_flux_tally) == approx(flux)
|
||||
assert first_score(zernike_tally) == approx(scatter)
|
||||
|
||||
|
||||
def test_energy():
|
||||
f = openmc.EnergyFilter.from_group_structure('CCFE-709')
|
||||
assert f.bins.shape == (709, 2)
|
||||
assert len(f.values) == 710
|
||||
|
||||
|
||||
def test_lethargy_bin_width():
|
||||
f = openmc.EnergyFilter.from_group_structure('VITAMIN-J-175')
|
||||
assert len(f.lethargy_bin_width) == 175
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue