We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 448196c + cd5d279 commit cfb4b95Copy full SHA for cfb4b95
tests/test_annoy.py
@@ -0,0 +1,11 @@
1
+import unittest
2
+
3
+from annoy import AnnoyIndex
4
5
6
+class TestAnnoy(unittest.TestCase):
7
+ def test_tree(self):
8
+ t = AnnoyIndex(5, 'angular')
9
+ t.add_item(1, [1,2,3,4,5])
10
11
+ self.assertTrue(t.build(1))
0 commit comments