Skip to content

Commit

Permalink
Add hex detector plot test
Browse files Browse the repository at this point in the history
  • Loading branch information
drewejohnson committed May 14, 2024
1 parent c569503 commit 6a0539d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added tests/plots/result_images/testHexPlot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions tests/plots/test_detectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,12 @@ def testBwrMeshPlot(recwarn):
def testSpectrumJustNormPerLethargy():
reader = readDataFile("bwr_det0.m")
reader["spectrum"].spectrumPlot(by=None, fixed={"reaction": 1})


@compare_or_update_plot
def testHexPlot():
reader = readDataFile("hexplot_det0.m")
h2 = reader["hex2"]
h2.pitch = 1
h2.hexType = 2
h2.hexPlot()

0 comments on commit 6a0539d

Please sign in to comment.