This commit is contained in:
Ettore Di Giacinto 2025-02-08 09:28:56 +08:00 committed by GitHub
commit 02e97f775e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 50 additions and 489 deletions

View file

@ -84,6 +84,10 @@ var _ = Describe("Integration tests for the stores backend(s) and internal APIs"
})
It("should be able to set a key", func() {
sc.StoresSet(context.Background(), &store.StoresSetOptions{
Keys: [][]float32{{0.1, 0.2, 0.3}},
Values: [][]byte{[]byte("test")},
})
err := store.SetSingle(context.Background(), sc, []float32{0.1, 0.2, 0.3}, []byte("test"))
Expect(err).ToNot(HaveOccurred())
})