Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
e017e4a1
Commit
e017e4a1
authored
Jun 12, 2020
by
Lukas Platz
Browse files
fix tests
parent
54fa3c9f
Pipeline
#76510
passed with stages
in 11 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_operators/test_adjoint.py
View file @
e017e4a1
...
...
@@ -208,7 +208,7 @@ def testDomainTupleFieldInserter():
@
pmp
(
'space'
,
[
0
,
2
])
@
pmp
(
'factor'
,
[
1
,
2
,
2.7
])
@
pmp
(
'padding_position'
,
[
'
fron
t'
,
'center'
,
'
back
'
])
@
pmp
(
'padding_position'
,
[
'
star
t'
,
'center'
,
'
end
'
])
def
testZeroPadder_old_interface
(
space
,
factor
,
dtype
,
padding_position
):
dom
=
(
ift
.
RGSpace
(
4
),
ift
.
UnstructuredDomain
(
5
),
ift
.
RGSpace
(
3
,
4
),
ift
.
HPSpace
(
2
))
...
...
test/test_operators/test_representation.py
View file @
e017e4a1
...
...
@@ -172,7 +172,7 @@ def testDomainTupleFieldInserter():
@
pmp
(
'space'
,
[
0
,
2
])
@
pmp
(
'factor'
,
[
1
,
2
,
2.7
])
@
pmp
(
'padding_position'
,
[
None
,
'
fron
t'
,
'center'
,
'
back
'
])
@
pmp
(
'padding_position'
,
[
None
,
'
star
t'
,
'center'
,
'
end
'
])
def
testZeroPadder
(
space
,
factor
,
dtype
,
padding_position
):
dom
=
(
ift
.
RGSpace
(
10
),
ift
.
UnstructuredDomain
(
13
),
ift
.
RGSpace
(
7
,
12
),
ift
.
HPSpace
(
4
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment