Files
microsoft--semantic-kernel/dotnet/test/VectorData/Qdrant.ConformanceTests/QdrantIndexKindTests.cs
T
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

27 lines
852 B
C#

// Copyright (c) Microsoft. All rights reserved.
using Microsoft.Extensions.VectorData;
using Qdrant.ConformanceTests.Support;
using VectorData.ConformanceTests;
using VectorData.ConformanceTests.Support;
using VectorData.ConformanceTests.Xunit;
using Xunit;
namespace Qdrant.ConformanceTests;
public class QdrantIndexKindTests(QdrantIndexKindTests.Fixture fixture)
: IndexKindTests<ulong>(fixture), IClassFixture<QdrantIndexKindTests.Fixture>
{
// Qdrant does not support index-less searching
public override Task Flat() => Assert.ThrowsAsync<NotSupportedException>(base.Flat);
[ConditionalFact]
public virtual Task Hnsw()
=> this.Test(IndexKind.Hnsw);
public new class Fixture() : IndexKindTests<ulong>.Fixture
{
public override TestStore TestStore => QdrantTestStore.NamedVectorsInstance;
}
}