summaryrefslogtreecommitdiff
path: root/src/cython/test/test_tangential_complex.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cython/test/test_tangential_complex.py')
-rwxr-xr-xsrc/cython/test/test_tangential_complex.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cython/test/test_tangential_complex.py b/src/cython/test/test_tangential_complex.py
index 8e1b5c51..429fc0d0 100755
--- a/src/cython/test/test_tangential_complex.py
+++ b/src/cython/test/test_tangential_complex.py
@@ -37,16 +37,12 @@ def test_tangential():
assert st.__is_defined() == True
assert st.__is_persistence_defined() == False
- assert st.num_simplices() == 13
+ assert st.num_simplices() == 6
assert st.num_vertices() == 4
assert st.get_filtered_tree() == \
- [([0], 0.0), ([1], 0.0), ([0, 1], 0.0), ([2], 0.0), ([0, 2], 0.0),
- ([1, 2], 0.0), ([3], 0.0), ([0, 3], 0.0), ([1, 3], 0.0),
- ([0, 1, 3], 0.0), ([2, 3], 0.0), ([0, 2, 3], 0.0),
- ([1, 2, 3], 0.0)]
- assert st.get_coface_tree([0], 1) == \
- [([0, 1], 0.0), ([0, 2], 0.0), ([0, 3], 0.0)]
+ [([0], 0.0), ([1], 0.0), ([2], 0.0), ([0, 2], 0.0), ([3], 0.0), ([1, 3], 0.0)]
+ assert st.get_coface_tree([0], 1) == [([0, 2], 0.0)]
assert point_list[0] == tc.get_point(0)
assert point_list[1] == tc.get_point(1)