summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-08-12 10:03:26 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-08-12 10:04:36 +0200
commit8f9c065df7f4629555ef09292c14c293891f1bdc (patch)
treee40ceb4807ea2a55478d1163087e76dae1bb8a5d /src/python
parent1f31e5ce995b0e7683c4eab7077317e28ee5b1b3 (diff)
code review: Add test to get boundaries from a vertex
Diffstat (limited to 'src/python')
-rwxr-xr-xsrc/python/test/test_simplex_tree.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/test/test_simplex_tree.py b/src/python/test/test_simplex_tree.py
index 7c49cb1a..036e88df 100755
--- a/src/python/test/test_simplex_tree.py
+++ b/src/python/test/test_simplex_tree.py
@@ -349,3 +349,4 @@ def test_boundaries_iterator():
assert list(st.get_boundaries([1, 2, 3])) == [([1, 2], 1.0), ([1, 3], 1.0), ([2, 3], 1.0)]
assert list(st.get_boundaries([2, 3, 4])) == [([2, 3], 1.0), ([2, 4], 2.0), ([3, 4], 2.0)]
+ assert list(st.get_boundaries([2])) == []