Commit 14677e7d authored by Markus Holzer's avatar Markus Holzer
Browse files

Corrected test case

parent 67548dc6
Pipeline #32744 passed with stage
in 55 minutes and 28 seconds
...@@ -2,8 +2,6 @@ import numpy as np ...@@ -2,8 +2,6 @@ import numpy as np
from itertools import product from itertools import product
import pystencils.boundaries.createindexlist as cil import pystencils.boundaries.createindexlist as cil
from lbmpy.stencils import get_stencil
import pytest import pytest
@pytest.mark.parametrize('single_link', [False, True]) @pytest.mark.parametrize('single_link', [False, True])
...@@ -80,7 +78,7 @@ def test_equivalence_cell_idx_list_cython_python_version(single_link): ...@@ -80,7 +78,7 @@ def test_equivalence_cell_idx_list_cython_python_version(single_link):
@pytest.mark.parametrize('inner_or_boundary', [False, True]) @pytest.mark.parametrize('inner_or_boundary', [False, True])
def test_normal_calculation(inner_or_boundary): def test_normal_calculation(inner_or_boundary):
stencil = get_stencil("D2Q9") stencil = tuple((x,y) for x,y in product([-1, 0, 1], [-1, 0, 1]))
domain_size = (32, 32) domain_size = (32, 32)
dtype = np.uint32 dtype = np.uint32
fluid_mask = dtype(1) fluid_mask = dtype(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment