summaryrefslogtreecommitdiff
path: root/src/cython/test/test_rips_complex.py
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-22 21:36:13 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-22 21:36:13 +0000
commit6b7d9286e9f68ff388ac487d644482c862b57782 (patch)
tree19eb374c75857ccb16415d4fd3482efda82a3d88 /src/cython/test/test_rips_complex.py
parent0724c2bcab0fa444ecf8178c27f59ca788a0aa03 (diff)
rename get_star function
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@2221 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: fff57c25d175a6aed355efeb449f94a1af2249b3
Diffstat (limited to 'src/cython/test/test_rips_complex.py')
-rwxr-xr-xsrc/cython/test/test_rips_complex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cython/test/test_rips_complex.py b/src/cython/test/test_rips_complex.py
index 4acf0a30..286a645b 100755
--- a/src/cython/test/test_rips_complex.py
+++ b/src/cython/test/test_rips_complex.py
@@ -49,7 +49,7 @@ def test_rips_from_points():
([0, 1], 1.0), ([0, 2], 1.0), ([1, 3], 1.0),
([2, 3], 1.0), ([1, 2], 1.4142135623730951),
([0, 3], 1.4142135623730951)]
- assert simplex_tree.get_stars([0]) == \
+ assert simplex_tree.get_star([0]) == \
[([0], 0.0), ([0, 1], 1.0), ([0, 2], 1.0),
([0, 3], 1.4142135623730951)]
assert simplex_tree.get_cofaces([0], 1) == \
@@ -88,7 +88,7 @@ def test_rips_from_distance_matrix():
([0, 1], 1.0), ([0, 2], 1.0), ([1, 3], 1.0),
([2, 3], 1.0), ([1, 2], 1.4142135623730951),
([0, 3], 1.4142135623730951)]
- assert simplex_tree.get_stars([0]) == \
+ assert simplex_tree.get_star([0]) == \
[([0], 0.0), ([0, 1], 1.0), ([0, 2], 1.0),
([0, 3], 1.4142135623730951)]
assert simplex_tree.get_cofaces([0], 1) == \