diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2020-04-17 11:46:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 11:46:49 +0200 |
commit | 9cd2062958d20a86fe234b960524160d31e18396 (patch) | |
tree | 908186725f317b867dd1ae00a1f6bc656e329d1f /src/python/test | |
parent | 44996b632685eb077e61f79b1dd07d172776acb9 (diff) | |
parent | 6dcedaeb83e7aef1e1a5e20a72b6ae00651e186f (diff) |
Merge pull request #268 from mglisse/filtration
Streamline initialize_filtration
Diffstat (limited to 'src/python/test')
-rwxr-xr-x | src/python/test/test_simplex_tree.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/python/test/test_simplex_tree.py b/src/python/test/test_simplex_tree.py index 70b26e97..2137d822 100755 --- a/src/python/test/test_simplex_tree.py +++ b/src/python/test/test_simplex_tree.py @@ -46,7 +46,6 @@ def test_insertion(): assert st.find([2, 3]) == False # filtration test - st.initialize_filtration() assert st.filtration([0, 1, 2]) == 4.0 assert st.filtration([0, 2]) == 4.0 assert st.filtration([1, 2]) == 4.0 @@ -93,7 +92,6 @@ def test_insertion(): assert st.find([1]) == True assert st.find([2]) == True - st.initialize_filtration() assert st.persistence(persistence_dim_max=True) == [ (1, (4.0, float("inf"))), (0, (0.0, float("inf"))), @@ -151,7 +149,6 @@ def test_expansion(): st.expansion(3) assert st.num_vertices() == 7 assert st.num_simplices() == 22 - st.initialize_filtration() assert list(st.get_filtration()) == [ ([2], 0.1), |