From 7cce5bc6778053ba6c2c3cce2bd9442c4e063e0d Mon Sep 17 00:00:00 2001 From: ROUVREAU Vincent Date: Mon, 21 Jun 2021 16:27:53 +0200 Subject: rename test as it is only for weighted --- src/python/test/test_alpha_complex.py | 6 +++--- 1 file 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) -- cgit v1.2.3