File tree Expand file tree Collapse file tree 5 files changed +22
-22
lines changed
Pgvector.VisualBasic.Tests Expand file tree Collapse file tree 5 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 8 .0.100" ,
3+ "version" : " 9 .0.100" ,
44 "rollForward" : " latestMajor" ,
55 "allowPrerelease" : " false"
66 }
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77
88 <IsPackable >false</IsPackable >
99 </PropertyGroup >
1010
1111 <ItemGroup >
12- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.3.2 " />
13- <PackageReference Include =" xunit" Version =" 2.4.2 " />
14- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.5 " >
12+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.13.0 " />
13+ <PackageReference Include =" xunit" Version =" 2.9.3 " />
14+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.8.2 " >
1515 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1616 <PrivateAssets >all</PrivateAssets >
1717 </PackageReference >
18- <PackageReference Include =" coverlet.collector" Version =" 3.1.2 " >
18+ <PackageReference Include =" coverlet.collector" Version =" 6.0.4 " >
1919 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2020 <PrivateAssets >all</PrivateAssets >
2121 </PackageReference >
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ let Main () =
6363 Embedding = read.fieldValue< Vector> " embedding"
6464 })
6565
66- Assert.AreEqual ([| 1 ; 3 ; 2 |], [| for i in items -> i.Id |])
67- Assert.AreEqual ([ | 1 f; 1 f; 1 f |], items [ 0 ]. Embedding.ToArray ( ))
68- Assert.AreEqual ([ | 1 f; 1 f; 2 f |], items [ 1 ]. Embedding.ToArray ( ))
69- Assert.AreEqual ([ | 2 f; 2 f; 2 f |], items [ 2 ]. Embedding.ToArray ( ))
66+ Assert.That ([| for i in items -> i.Id |], Is.EquivalentTo ([| 1 ; 3 ; 2 |]) )
67+ Assert.That ( items [ 0 ]. Embedding.ToArray (), Is.EquivalentTo ([ | 1 f; 1 f; 1 f |]))
68+ Assert.That ( items [ 1 ]. Embedding.ToArray (), Is.EquivalentTo ([ | 1 f; 1 f; 2 f |]))
69+ Assert.That ( items [ 2 ]. Embedding.ToArray (), Is.EquivalentTo ([ | 2 f; 2 f; 2 f |]))
7070
7171 dataSource
7272 |> Sql.fromDataSource
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 <GenerateProgramFile >false</GenerateProgramFile >
1414 </ItemGroup >
1515
1616 <ItemGroup >
17- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.6 .0" />
18- <PackageReference Include =" Npgsql.FSharp" Version =" 5.7 .0" />
19- <PackageReference Include =" NUnit" Version =" 3.13.3 " />
20- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.2.1 " />
21- <PackageReference Include =" NUnit.Analyzers" Version =" 3.6.1 " />
22- <PackageReference Include =" coverlet.collector" Version =" 6.0.0 " />
17+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.13 .0" />
18+ <PackageReference Include =" Npgsql.FSharp" Version =" 8.0 .0" />
19+ <PackageReference Include =" NUnit" Version =" 4.3.2 " />
20+ <PackageReference Include =" NUnit3TestAdapter" Version =" 5.0.0 " />
21+ <PackageReference Include =" NUnit.Analyzers" Version =" 4.7.0 " />
22+ <PackageReference Include =" coverlet.collector" Version =" 6.0.4 " />
2323 </ItemGroup >
2424
2525 <ItemGroup >
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <RootNamespace >Pgvector.VisualBasic.Tests</RootNamespace >
5- <TargetFramework >net8 .0</TargetFramework >
5+ <TargetFramework >net9 .0</TargetFramework >
66
77 <IsPackable >false</IsPackable >
88 <IsTestProject >true</IsTestProject >
99 </PropertyGroup >
1010
1111 <ItemGroup >
12- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.6 .0" />
13- <PackageReference Include =" MSTest.TestAdapter" Version =" 3.0.4 " />
14- <PackageReference Include =" MSTest.TestFramework" Version =" 3.0.4 " />
15- <PackageReference Include =" coverlet.collector" Version =" 6.0.0 " />
12+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.13 .0" />
13+ <PackageReference Include =" MSTest.TestAdapter" Version =" 3.8.3 " />
14+ <PackageReference Include =" MSTest.TestFramework" Version =" 3.8.3 " />
15+ <PackageReference Include =" coverlet.collector" Version =" 6.0.4 " />
1616 </ItemGroup >
1717
1818 <ItemGroup >
You can’t perform that action at this time.
0 commit comments