aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2021-07-23 09:07:46 +0300
committerMuriithi Frederick Muriuki2021-07-23 09:07:46 +0300
commit8705e9186051fb5d11d150991c49f6f73056183b (patch)
tree97399125af9ae2e78f46fc0034f15c7a78a2c5d2 /tests/unit
parent7e8a3347cc04433c55a5f6a3f528e9163fee6543 (diff)
downloadgenenetwork3-8705e9186051fb5d11d150991c49f6f73056183b.tar.gz
Add more test data
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/computations/test_slink.py2
1 files changed, 1 insertions, 1 deletions
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), [])