diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-07-31 17:34:47 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-07-31 17:34:47 +0200 |
commit | 39fba06ef758483bc237b9375413974c3bbc16e4 (patch) | |
tree | 464961e9b56c9772b8992af5a6e6b35bb119ae07 /src/python/test/test_simplex_tree.py | |
parent | c9b743e5fed3f33b2084d5d8add2b7db2504004b (diff) |
code review: collapse edges should copy the 0-skeleton. A test was added
Diffstat (limited to 'src/python/test/test_simplex_tree.py')
-rwxr-xr-x | src/python/test/test_simplex_tree.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/test/test_simplex_tree.py b/src/python/test/test_simplex_tree.py index 30a8f5e0..83be0602 100755 --- a/src/python/test/test_simplex_tree.py +++ b/src/python/test/test_simplex_tree.py @@ -356,3 +356,5 @@ def test_collapse_edges(): st.collapse_edges() assert st.num_simplices() == 9 assert st.find([1, 3]) == False + for simplex in st.get_skeleton(0): + assert simplex[1] == 1. |