Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psaap3-weno
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
psaap3-weno
Commits
b5a7ee90
Commit
b5a7ee90
authored
5 years ago
by
Timothy Smith
Browse files
Options
Downloads
Patches
Plain Diff
lose folds in data_for_test for now so stuff isn't hiding
parent
f831853a
No related branches found
Branches containing commit
No related tags found
1 merge request
!41
Refactor tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/data_for_test.py
+0
-7
0 additions, 7 deletions
test/data_for_test.py
with
0 additions
and
7 deletions
test/data_for_test.py
+
0
−
7
View file @
b5a7ee90
...
@@ -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
"
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment