Skip to content

Commit

Permalink
Test all the combinations of axes because why not
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarDrew committed May 8, 2024
1 parent 2a55fae commit 24dbaba
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dkist/tests/test_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ def test_load_asdf(benchmark, large_visp_dataset_file):


@pytest.mark.benchmark
@pytest.mark.parametrize("axes", [[None, "x", "y", None], [None, "y", "x", None]])
@pytest.mark.parametrize("axes", [
["y", "x", None, None],
["y", None, "x", None],
["y", None, None, "x"],
[None, "y", "x", None],
[None, "y", None, "x"],
[None, None, "y", "x"],
])
def test_plot_dataset(benchmark, axes, large_visp_dataset):
@benchmark
def plot_and_save_fig(ds=large_visp_dataset, axes=axes):
Expand Down

0 comments on commit 24dbaba

Please sign in to comment.