summaryrefslogtreecommitdiff
path: root/src/cython/test/test_simplex_tree.py
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-11-20 16:39:51 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-11-20 16:39:51 +0000
commit3e1f686df11ec3e1ad02a18f12249621620ac969 (patch)
tree2b9a6c85a86e8e0c31a653ba60c712fd9bbbfc60 /src/cython/test/test_simplex_tree.py
parente0c930251736ab31732787c4d94761e33f31ff4d (diff)
assign_filtration binding
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/set_dimension_mechanism_precision@2918 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 390839c0f172993f6117746d08c5a22c00778c5f
Diffstat (limited to 'src/cython/test/test_simplex_tree.py')
-rwxr-xr-xsrc/cython/test/test_simplex_tree.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cython/test/test_simplex_tree.py b/src/cython/test/test_simplex_tree.py
index 8af653d2..6dec5d94 100755
--- a/src/cython/test/test_simplex_tree.py
+++ b/src/cython/test/test_simplex_tree.py
@@ -154,6 +154,9 @@ def test_automatic_dimension():
assert st.dimension() == 2
assert st.upper_bound_dimension() == 2
+ st.assign_filtration([0, 1, 3], 0.7)
+ assert st.filtration([0, 1, 3]) == 0.7
+
st.remove_maximal_simplex([0, 1, 3])
assert st.upper_bound_dimension() == 2
assert st.dimension() == 1