diff options
Diffstat (limited to 'src/cython/test')
-rwxr-xr-x | src/cython/test/test_alpha_complex.py | 4 | ||||
-rwxr-xr-x | src/cython/test/test_rips_complex.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cython/test/test_alpha_complex.py b/src/cython/test/test_alpha_complex.py index f5601ab7..2625d529 100755 --- a/src/cython/test/test_alpha_complex.py +++ b/src/cython/test/test_alpha_complex.py @@ -47,7 +47,7 @@ def test_infinite_alpha(): ([0, 1], 0.25), ([0, 2], 0.25), ([1, 3], 0.25), ([2, 3], 0.25), ([1, 2], 0.5), ([0, 1, 2], 0.5), ([1, 2, 3], 0.5)] - assert simplex_tree.get_stars([0]) == \ + assert simplex_tree.get_star([0]) == \ [([0], 0.0), ([0, 1], 0.25), ([0, 1, 2], 0.5), ([0, 2], 0.25)] assert simplex_tree.get_cofaces([0], 1) == \ @@ -80,7 +80,7 @@ def test_filtered_alpha(): [([0], 0.0), ([1], 0.0), ([2], 0.0), ([3], 0.0), ([0, 1], 0.25), ([0, 2], 0.25), ([1, 3], 0.25), ([2, 3], 0.25)] - assert simplex_tree.get_stars([0]) == \ + assert simplex_tree.get_star([0]) == \ [([0], 0.0), ([0, 1], 0.25), ([0, 2], 0.25)] assert simplex_tree.get_cofaces([0], 1) == \ [([0, 1], 0.25), ([0, 2], 0.25)] 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) == \ |