24 lines
645 B
C#
24 lines
645 B
C#
using SortingModel.SortingAlgorithms;
|
|
using SortingModel.SortingAlgorithms.Interfaces;
|
|
|
|
namespace Testing
|
|
{
|
|
[TestClass]
|
|
public sealed class BubbleSortTest : SortingTestBase
|
|
{
|
|
protected override ISortingAlgorithm CreateAlgorithm() => new BubbleSortAlgorithm();
|
|
}
|
|
|
|
[TestClass]
|
|
public sealed class QuickSortTest : SortingTestBase
|
|
{
|
|
protected override ISortingAlgorithm CreateAlgorithm() => new QuickSortAlgorithm();
|
|
}
|
|
|
|
[TestClass]
|
|
public sealed class MergeSortTest : SortingTestBase
|
|
{
|
|
protected override ISortingAlgorithm CreateAlgorithm() => new MergeSortAlgorithm();
|
|
}
|
|
}
|