public void BackwardArray_6Test(int[] x, int[] expected) { int[] actual = ArrayRank1.BackwardArray_6(x); Assert.AreEqual(expected, actual); }
public void SummOddIndexOfArray_5Test(int[] x, int exprcted) { int actual = ArrayRank1.SummOddIndexOfArray_5(x); Assert.AreEqual(exprcted, actual); }
public void SummOddIndexOfArray_5_ArrayLenghtTo0_ShouldEception(int[] x) { Assert.Throws <ArgumentException>(() => ArrayRank1.SummOddIndexOfArray_5(x)); }
public void IndexMaxOfArray_4Test(int[] x, int expected) { int actual = ArrayRank1.IndexMaxOfArray_4(x); Assert.AreEqual(expected, actual); }
public void IndexMaxOfArray_4_ArrayLenghtTo0_ShouldEception(int[] x) { Assert.Throws <ArgumentException>(() => ArrayRank1.IndexMaxOfArray_4(x)); }
public void MinOfArray_1_ArrayLenght0_ShouldException(int[] x) { Assert.Throws <ArgumentException>(() => ArrayRank1.MinOfArray_1(x)); }
public void MaxOfArray_2Test(int[] x, int expected) { int actual = ArrayRank1.MaxOfArray_2(x); Assert.AreEqual(expected, actual); }
public void SelectSortArray_10Test(int[] x, int[] expected) { int[] actual = ArrayRank1.SelectSortArray_10(x); Assert.AreEqual(expected, actual); }
public void SelectSortArray_10_ArrayLenghtTo0_ShouldException(int[] x) { Assert.Throws <ArgumentException>(() => ArrayRank1.SelectSortArray_10(x)); }
public void BubleSortArray_9_ArrayLenghtTo0_ShouldException(int[] x) { Assert.Throws <ArgumentException>(() => ArrayRank1.BubleSortArray_9(x)); }
public void BubleSortArray_9Test(int[] x, int[] expected) { int[] actual = ArrayRank1.BubleSortArray_9(x); Assert.AreEqual(expected, actual); }
public void BackwardHalfArray_8_ArrayLenghtTo0_ShouldException(int[] x) { Assert.Throws <ArgumentException>(() => ArrayRank1.BackwardHalfArray_8(x)); }
public void QountOddNumberOfArray_7_ArrayLenghtTo0_ShouldException(int[] x) { Assert.Throws <ArgumentException>(() => ArrayRank1.QountOddNumberOfArray_7(x)); }
public void QountOddNumberOfArray_7Test(int[] x, int expected) { int actual = ArrayRank1.QountOddNumberOfArray_7(x); Assert.AreEqual(expected, actual); }