summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-06-21 16:27:53 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-06-21 16:27:53 +0200
commit7cce5bc6778053ba6c2c3cce2bd9442c4e063e0d (patch)
treea5e3f4c2792f53f8cb007260847eea883c929f36
parent35d82325366afa1131c12d9e38599ff9e5ecdd84 (diff)
rename test as it is only for weighted
-rwxr-xr-xsrc/python/test/test_alpha_complex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/test/test_alpha_complex.py b/src/python/test/test_alpha_complex.py
index e0f2b5df..b0f219e1 100755
--- a/src/python/test/test_alpha_complex.py
+++ b/src/python/test/test_alpha_complex.py
@@ -296,7 +296,7 @@ def test_inconsistency_points_and_weights():
alpha = gd.AlphaComplex(points = points,
weights = [1., 2., 3., 4., 5., 6.])
-def _doc_example(precision):
+def _weighted_doc_example(precision):
stree_from_values = gd.AlphaComplex(points=[[ 1., -1., -1.],
[-1., 1., -1.],
[-1., -1., 1.],
@@ -310,6 +310,6 @@ def _doc_example(precision):
assert stree_from_values.filtration([0, 2, 3, 4]) == pytest.approx(95.)
assert stree_from_values.filtration([1, 2, 3, 4]) == pytest.approx(95.)
-def test_doc_example():
+def test_weighted_doc_example():
for precision in ['fast', 'safe', 'exact']:
- _doc_example(precision)
+ _weighted_doc_example(precision)