public void TestBubbleSort_5() { var abc = new task05.task(); int[][] a = new int[][] { new int[] { 1, 2, 30 }, new int[] { 4, 5, 6 }, new int[] { 7, 28, 9 } }; int[][] expected = new int[][] { new int[] { 1, 2, 30 }, new int[] { 4, 5, 6 }, new int[] { 7, 28, 9 }, }; int[][] actual = abc.BubbleSort(a, 3); Assert.AreEqual(expected, actual); }
public double TestFindNthRoot(double num, int root, double eps) { var abc = new task05.task(); return(abc.FindNthRoot(num, root, eps)); }