Skip to content

Commit

Permalink
[skip ci] pep8 def spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Aug 9, 2022
1 parent 8c72e4b commit 7004ff5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit_tests/test_filters.py
Expand Up @@ -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
Expand Down

0 comments on commit 7004ff5

Please sign in to comment.