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
Goran Jelic-Cizmek
coffe
Commits
a92f45d7
Commit
a92f45d7
authored
Dec 07, 2021
by
Goran Jelic-Cizmek
Browse files
Added tests for representation
parent
4216a331
Changes
1
Hide whitespace changes
Inline
Side-by-side
test_coffe.py
View file @
a92f45d7
...
...
@@ -231,3 +231,15 @@ class TestCoffe:
assert
np
.
allclose
(
0
,
0
)
class
TestRepresentation
:
"""
Tests for Corrfunc, Multipoles, and Covariance classes.
"""
def
test_representation
(
self
):
with
pytest
.
raises
(
TypeError
):
coffe
.
Representation
()
coffe
.
Multipoles
(
l
=
0
,
r
=
10
,
z
=
1.0
,
value
=
1e-3
)
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