[skip ci] pep8 def spaces

This commit is contained in:
Jonathan Shimwell 2022-08-09 12:40:45 +01:00
parent 8c72e4b7b0
commit 7004ff5467

View file

@ -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