summaryrefslogtreecommitdiff
path: root/src/cython/test/test_simplex_tree.py
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-10-26 20:16:33 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-10-26 20:16:33 +0000
commit8f7e5a1259287ee39595623e87149cb07ab2e293 (patch)
tree9be56938e5c9ceeb2ecf04a865b75f3e88b30f20 /src/cython/test/test_simplex_tree.py
parent0f7b41e0357063fcb8a06b17b90fe9fe7b4bda83 (diff)
Code review: downgrade_dimension renamed lower_upper_bound_dimension and make it private. Automatically when dimension_to_be_lowered_ is set (on removal)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_automatic_dimension_set@2810 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: c764433bcc5357acc6454683d4f4182c7c960d6d
Diffstat (limited to 'src/cython/test/test_simplex_tree.py')
-rwxr-xr-xsrc/cython/test/test_simplex_tree.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cython/test/test_simplex_tree.py b/src/cython/test/test_simplex_tree.py
index 177cfdad..a6d6a9f3 100755
--- a/src/cython/test/test_simplex_tree.py
+++ b/src/cython/test/test_simplex_tree.py
@@ -94,12 +94,12 @@ def test_insertion():
assert st.persistence(persistence_dim_max = True) == [(1, (4.0, float('inf'))), (0, (0.0, float('inf')))]
assert st.__is_persistence_defined() == True
- assert st.betti_numbers() == [1, 1, 0]
- assert st.persistent_betti_numbers(-0.1, 10000.0) == [0, 0, 0]
- assert st.persistent_betti_numbers(0.0, 10000.0) == [1, 0, 0]
- assert st.persistent_betti_numbers(3.9, 10000.0) == [1, 0, 0]
- assert st.persistent_betti_numbers(4.0, 10000.0) == [1, 1, 0]
- assert st.persistent_betti_numbers(9999.0, 10000.0) == [1, 1, 0]
+ assert st.betti_numbers() == [1, 1]
+ assert st.persistent_betti_numbers(-0.1, 10000.0) == [0, 0]
+ assert st.persistent_betti_numbers(0.0, 10000.0) == [1, 0]
+ assert st.persistent_betti_numbers(3.9, 10000.0) == [1, 0]
+ assert st.persistent_betti_numbers(4.0, 10000.0) == [1, 1]
+ assert st.persistent_betti_numbers(9999.0, 10000.0) == [1, 1]
def test_expansion():
st = SimplexTree()