From 8705e9186051fb5d11d150991c49f6f73056183b Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Fri, 23 Jul 2021 09:07:46 +0300 Subject: Add more test data Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi --- tests/unit/computations/test_slink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/computations') diff --git a/tests/unit/computations/test_slink.py b/tests/unit/computations/test_slink.py index 8ccbda5..da17ac3 100644 --- a/tests/unit/computations/test_slink.py +++ b/tests/unit/computations/test_slink.py @@ -204,6 +204,6 @@ class TestSlink(TestCase): self.assertEqual(nearest(md, mc, ml), ed) def test_slink_wrong_data_returns_empty_list(self): - for data in [1, "test", [], 2.945, nearest]: + for data in [1, "test", [], 2.945, nearest, [0]]: with self.subTest(data=data): self.assertEqual(slink(data), []) -- cgit v1.2.3