Skip to content

Commit

Permalink
make testVecf32 comply with latest changes in vector serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
barakb committed Oct 10, 2024
1 parent e991a18 commit 4c8caab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/falkordb/GraphAPITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ public void testVecf32() {
ResultSet resultSet = client.query("RETURN vecf32([2.1, -0.82, 1.3, 4.5]) AS vector");
Assert.assertEquals(1, resultSet.size());
Record r = resultSet.iterator().next();
List<Double> vector = r.getValue(0);
List<Float> vector = r.getValue(0);
Assert.assertEquals(4, vector.size());
Assert.assertEquals(2.1f, vector.get(0), 0.01);
Assert.assertEquals(-0.82f, vector.get(1), 0.01);
Expand Down

0 comments on commit 4c8caab

Please sign in to comment.