Skip to content

FindTheMaximumValue: net11.0, Score benchmark and empty-array cases - #2437

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/65251-csharp-array-maximum-value
Open

vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/65251-csharp-array-maximum-value

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves the Find the Maximum Value of an Array sample to net11.0 with BenchmarkDotNet 0.15.8 (InProcess), MSTest 4.5.3, Microsoft.NET.Test.Sdk 18.12.0 and coverlet.collector 10.1.1, drops the unused BenchmarkDotNet reference from the console app, builds the benchmark input in GlobalSetup with a seeded Random and returns every result, adds a Score class with its own ScoreFinderBenchmark plus MinBy and null-returning methods, and adds tests for the Score overloads and the empty-array behaviour (10 tests).

…rray cases

Retarget all three projects to net11.0, update BenchmarkDotNet to 0.15.8 and the MSTest packages to 4.5.3, drop the unused BenchmarkDotNet reference from the console app, build benchmark input in [GlobalSetup] with a seeded Random and return results, add a Score class with a ScoreFinderBenchmark, MinBy and null-returning methods, and tests for the empty-array behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant