Skip to content

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
eminencegrs committed Nov 1, 2024
1 parent ba948b0 commit c67b943
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Behavioral/DesignPatterns.Strategy/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using BenchmarkDotNet.Running;
using System.Diagnostics.CodeAnalysis;
using BenchmarkDotNet.Running;
using DesignPatterns.Strategy;

var summary = BenchmarkRunner.Run<SortingBenchmark>();

[ExcludeFromCodeCoverage]
public partial class Program { }
2 changes: 2 additions & 0 deletions Behavioral/DesignPatterns.Strategy/SortingBenchmark.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using System.Diagnostics.CodeAnalysis;
using BenchmarkDotNet.Attributes;

namespace DesignPatterns.Strategy;

[ExcludeFromCodeCoverage]
public class SortingBenchmark
{
private readonly ISortingStrategy quickSortingStrategy = new QuickSortingStrategy();
Expand Down

0 comments on commit c67b943

Please sign in to comment.