Skip to content

Commit

Permalink
upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ssg committed Feb 25, 2024
1 parent a743500 commit e48b215
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion benchmark/benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Optimize>true</Optimize>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.2" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
<PackageReference Include="System.Memory" Version="4.5.5" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/HashDepot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<AdditionalFiles Include="stylecop.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435">
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
8 changes: 4 additions & 4 deletions test/HashDepotTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
<None Remove="HashDepotTest.v3.ncrunchproject" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="17.4.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="17.9.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\src\HashDepot.csproj" />
Expand Down
4 changes: 2 additions & 2 deletions test/MurmurHash3Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void Hash128_Preliminary(string input, string expectedOutput)
uint seed = 0;

var result = MurmurHash3.Hash128(buffer, seed);
CollectionAssert.AreEquivalent(expectedBuffer, result);
Assert.That(result, Is.EquivalentTo(expectedBuffer));
}

[Test]
Expand All @@ -115,6 +115,6 @@ public void Hash128_Stream_Preliminary(string input, string expectedOutput)

using var stream = new MemoryStream(buffer);
var result = MurmurHash3.Hash128(stream, seed);
CollectionAssert.AreEquivalent(expectedBuffer, result);
Assert.That(result, Is.EquivalentTo(expectedBuffer));
}
}

0 comments on commit e48b215

Please sign in to comment.