Skip to content

Commit 79653c9

Browse files
committed
Remove unnecessary code from multidimensional array test
1 parent 2734373 commit 79653c9

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/BenchmarkDotNet.IntegrationTests/ArgumentsTests.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -683,17 +683,9 @@ public IEnumerable<int[,]> GetArrays()
683683
yield return new int[,] { { 1, 2, 3 }, { 4, 5, 6 } };
684684
}
685685

686-
[Benchmark(Baseline = true)]
687-
[ArgumentsSource(nameof(GetArrays))]
688-
public void AcceptsArrays(int[,] arr)
689-
{
690-
if (arr.Length == 0)
691-
throw new ArgumentException("Incorrect length");
692-
}
693-
694686
[Benchmark]
695687
[ArgumentsSource(nameof(GetArrays))]
696-
public void AcceptsArrays2(int[,] arr)
688+
public void AcceptsMultidimensionalArray(int[,] arr)
697689
{
698690
if (arr.Length == 0)
699691
throw new ArgumentException("Incorrect length");

0 commit comments

Comments
 (0)