diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-10-19 20:35:41 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-10-19 20:35:41 +0000 |
commit | 4e3cf64d56874353aea48ccc1820069bbf37671a (patch) | |
tree | a37d4a87cb4a262d4a2b14d3a939832cfb5d8f92 /src/cython/test/test_simplex_tree.py | |
parent | 479bcccbaede8aa59ae28c8cd9b15de08053a817 (diff) |
Code review : remove template specification for std::max
Fix cython tests accordingly to the other modifications
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_automatic_dimension_set@2794 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: e1009a3304455fa26fbd368c4cce4451bc3d7784
Diffstat (limited to 'src/cython/test/test_simplex_tree.py')
-rwxr-xr-x | src/cython/test/test_simplex_tree.py | 12 |
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 a6d6a9f3..177cfdad 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] - 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] + 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] def test_expansion(): st = SimplexTree() |