summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2021-04-30 15:13:46 +0200
committerGard Spreemann <gspr@nonempty.org>2021-04-30 15:13:46 +0200
commitcb01ba2a8fa4aba9dc27b9dc62eaaf492150cad0 (patch)
tree262018d4daf7b9e7cfaf523ca9c689e5416568c3
parent09fe9bd25d9212fa42b77570a0ef80bc97d742be (diff)
Update tests to reflect removal of old Betti curve class
-rwxr-xr-xsrc/python/test/test_betti_curve_representations.py2
-rwxr-xr-xsrc/python/test/test_representations.py9
2 files changed, 1 insertions, 10 deletions
diff --git a/src/python/test/test_betti_curve_representations.py b/src/python/test/test_betti_curve_representations.py
index 475839ee..73f6f34a 100755
--- a/src/python/test/test_betti_curve_representations.py
+++ b/src/python/test/test_betti_curve_representations.py
@@ -1,7 +1,7 @@
import numpy as np
import scipy.interpolate
-from gudhi.representations.vector_methods import BettiCurve2
+from gudhi.representations.vector_methods import BettiCurve
def test_betti_curve_is_irregular_betti_curve_followed_by_interpolation():
m = 10
diff --git a/src/python/test/test_representations.py b/src/python/test/test_representations.py
index 43c914f3..86439655 100755
--- a/src/python/test/test_representations.py
+++ b/src/python/test/test_representations.py
@@ -63,12 +63,3 @@ def test_dummy_atol():
atol_vectoriser.transform(X=[a, b, c])
-from gudhi.representations.vector_methods import BettiCurve
-
-
-def test_infinity():
- a = np.array([[1.0, 8.0], [2.0, np.inf], [3.0, 4.0]])
- c = BettiCurve(20, [0.0, 10.0])(a)
- assert c[1] == 0
- assert c[7] == 3
- assert c[9] == 2