summaryrefslogtreecommitdiff
path: root/src/python/test/test_euclidean_witness_complex.py
diff options
context:
space:
mode:
authorMathieuCarriere <mathieu.carriere3@gmail.com>2020-03-16 14:19:06 -0400
committerMathieuCarriere <mathieu.carriere3@gmail.com>2020-03-16 14:19:06 -0400
commitaa035c480ba8c1e229f7135257b6a6ae8ad57032 (patch)
tree806269efad3ab4c080344646c104b2699aa20136 /src/python/test/test_euclidean_witness_complex.py
parent580ca73cac77b4c856fe1f341e496201774a20fd (diff)
parentf40161072b8f74f68b0ff67b6ef2be7abebec950 (diff)
Merge branch 'master' of https://github.com/GUDHI/gudhi-devel into wasserstein_representations
Diffstat (limited to 'src/python/test/test_euclidean_witness_complex.py')
-rwxr-xr-xsrc/python/test/test_euclidean_witness_complex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/test/test_euclidean_witness_complex.py b/src/python/test/test_euclidean_witness_complex.py
index c18d2484..f3664d39 100755
--- a/src/python/test/test_euclidean_witness_complex.py
+++ b/src/python/test/test_euclidean_witness_complex.py
@@ -40,7 +40,7 @@ def test_witness_complex():
assert landmarks[1] == euclidean_witness_complex.get_point(1)
assert landmarks[2] == euclidean_witness_complex.get_point(2)
- assert simplex_tree.get_filtration() == [
+ assert list(simplex_tree.get_filtration()) == [
([0], 0.0),
([1], 0.0),
([0, 1], 0.0),
@@ -78,13 +78,13 @@ def test_strong_witness_complex():
assert landmarks[1] == euclidean_strong_witness_complex.get_point(1)
assert landmarks[2] == euclidean_strong_witness_complex.get_point(2)
- assert simplex_tree.get_filtration() == [([0], 0.0), ([1], 0.0), ([2], 0.0)]
+ assert list(simplex_tree.get_filtration()) == [([0], 0.0), ([1], 0.0), ([2], 0.0)]
simplex_tree = euclidean_strong_witness_complex.create_simplex_tree(
max_alpha_square=100.0
)
- assert simplex_tree.get_filtration() == [
+ assert list(simplex_tree.get_filtration()) == [
([0], 0.0),
([1], 0.0),
([2], 0.0),