Skip to content
Snippets Groups Projects
Commit b5a7ee90 authored by Timothy Smith's avatar Timothy Smith
Browse files

lose folds in data_for_test for now so stuff isn't hiding

parent f831853a
No related branches found
No related tags found
1 merge request!41Refactor tests
...@@ -26,8 +26,6 @@ import utilities as u ...@@ -26,8 +26,6 @@ import utilities as u
import weno_reference_implementation as ref import weno_reference_implementation as ref
# {{{ FluxDataSingle
class FluxDataSingle: class FluxDataSingle:
# FIXME: can we set some of these constants from ref.gas? # FIXME: can we set some of these constants from ref.gas?
# -- if all nvars references come from there, it's relatively easy to # -- if all nvars references come from there, it's relatively easy to
...@@ -103,10 +101,6 @@ class FluxDataSingle: ...@@ -103,10 +101,6 @@ class FluxDataSingle:
def permutation(self, d): def permutation(self, d):
return [(d+i) % 3 + 1 for i in range(3)] return [(d+i) % 3 + 1 for i in range(3)]
# }}}
# {{{ FluxDataVector
# FIXME: is there a better way to divide responsibilities with these fixture classes? # FIXME: is there a better way to divide responsibilities with these fixture classes?
class FluxDataVector: class FluxDataVector:
nvars = 5 nvars = 5
...@@ -190,7 +184,6 @@ class FluxDataVector: ...@@ -190,7 +184,6 @@ class FluxDataVector:
def add_dimension(self, arr, n): def add_dimension(self, arr, n):
return np.stack([arr for i in range(n)], axis=-1) return np.stack([arr for i in range(n)], axis=-1)
# }}}
@pytest.fixture(scope="session", params=[ @pytest.fixture(scope="session", params=[
("1 1 1 1 5.5,1 1 1 1 5.5", "x"), ("1 1 1 1 5.5,1 1 1 1 5.5", "x"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment