public void BubbleTest2() { var data = new List <int>() { 1, 2, 0, 12, 12, 23, 7 }; var result = new List <int>() { 1, 1, 0, 2, 7, 12, 23, 12 }; var equal = result.SequenceEqual(TemplateMethods.BubbleSort(data)); Assert.False(equal); }
public void SqrtMethodTest(int n, bool res) { Assert.Equal(TemplateMethods.SqrtMethodPrime(n), res); }