Skip to content

Commit

Permalink
test: add block size range to multi_level tests
Browse files Browse the repository at this point in the history
  • Loading branch information
speglich committed Apr 5, 2022
1 parent 1868dac commit ac9e40a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_multilevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@pytest.mark.parametrize("drd", [0, 2])
@pytest.mark.parametrize("uf", [1, 2])
@pytest.mark.parametrize("ub", [1, 2])
@pytest.mark.parametrize("block_size", [1])
@pytest.mark.parametrize("block_size", [1, 5, 10])
def test_forward_nt(nt, mwd, mrd, dwd, drd, uf, ub, singlefile, block_size):
nx = 10
ny = 10
Expand Down Expand Up @@ -44,7 +44,7 @@ def test_forward_nt(nt, mwd, mrd, dwd, drd, uf, ub, singlefile, block_size):
@pytest.mark.parametrize("drd", [0, 2])
@pytest.mark.parametrize("uf", [1, 2])
@pytest.mark.parametrize("ub", [1, 2])
@pytest.mark.parametrize("block_size", [1])
@pytest.mark.parametrize("block_size", [1, 5, 10])
def test_reverse_nt(nt, mwd, mrd, dwd, drd, uf, ub, singlefile, block_size):
nx = 10
ny = 10
Expand Down Expand Up @@ -77,7 +77,7 @@ def test_reverse_nt(nt, mwd, mrd, dwd, drd, uf, ub, singlefile, block_size):
@pytest.mark.parametrize("drd", [0, 2])
@pytest.mark.parametrize("uf", [1, 2])
@pytest.mark.parametrize("ub", [1, 2])
@pytest.mark.parametrize("block_size", [1])
@pytest.mark.parametrize("block_size", [1, 5, 10])
def test_num_loads_and_saves(nt, mwd, mrd, dwd, drd, uf, ub, singlefile, block_size):
cp = SimpleCheckpoint()
f = SimpleOperator()
Expand Down Expand Up @@ -105,7 +105,7 @@ def test_num_loads_and_saves(nt, mwd, mrd, dwd, drd, uf, ub, singlefile, block_s
@pytest.mark.parametrize("drd", [0, 2])
@pytest.mark.parametrize("uf", [1, 2])
@pytest.mark.parametrize("ub", [1, 2])
@pytest.mark.parametrize("block_size", [1])
@pytest.mark.parametrize("block_size", [1, 5, 10])
def test_multi_and_single_outputs(nt, mwd, mrd, dwd, drd, uf, ub, block_size):
"""
Tests whether SingleLevelRevolver and MultilevelRevolver are producing
Expand Down

0 comments on commit ac9e40a

Please sign in to comment.