summaryrefslogtreecommitdiff
path: root/src/python/test
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-04-22 08:54:02 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-04-22 08:54:02 +0200
commit86271280f5dc61ecee67cf9f9cea70e966c6b80c (patch)
treeffa2cb52b0968c806f2b4aad32f13e120e06c9ba /src/python/test
parentf30223190ee651a4a4fea07ba58e8c0583e15b0f (diff)
parent73fa5b763a53179444304ccbe0583b616403bb0a (diff)
Merge branch 'master' into python_weighted_alpha_complex
Diffstat (limited to 'src/python/test')
-rwxr-xr-xsrc/python/test/test_tomato.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/test/test_tomato.py b/src/python/test/test_tomato.py
index ecab03c4..c571f799 100755
--- a/src/python/test/test_tomato.py
+++ b/src/python/test/test_tomato.py
@@ -37,7 +37,7 @@ def test_tomato_1():
t = Tomato(metric="euclidean", graph_type="radius", r=4.7, k=4)
t.fit(a)
assert t.max_weight_per_cc_.size == 2
- assert np.array_equal(t.neighbors_, [[0, 1, 2], [0, 1, 2], [0, 1, 2], [3, 4, 5, 6], [3, 4, 5], [3, 4, 5], [3, 6]])
+ assert t.neighbors_ == [[0, 1, 2], [0, 1, 2], [0, 1, 2], [3, 4, 5, 6], [3, 4, 5], [3, 4, 5], [3, 6]]
t.plot_diagram()
t = Tomato(graph_type="radius", r=4.7, k=4, symmetrize_graph=True)