public void SortingSumTestReverse()
        {
            int[][] arr =
{
    new int[] {1,3,5,7,9},
    new int[] {0,2,4,6},
    new int[] {11,22}
};
            MAxElement max = new MAxElement(false);
            BubbleSorter.Sorting(arr, max);
            int[][] arr2 =
{
   new int[] {11,22},
   new int[] {1,3,5,7,9},
    new int[] {0,2,4,6}
};
            CollectionAssert.AreEqual(arr2, arr);

        }
           public void SortingMaxTestStright()
        {
            int[][] arr =
{
    new int[] {1,3,5,7,9},
    new int[] {0,2,4,6},
    new int[] {11,22}
};
            MAxElement max = new MAxElement(true);
            BubbleSorter.Sorting(arr, max);
            int[][] arr2 =
{
    new int[] {0,2,4,6},
   new int[] {1,3,5,7,9},
    new int[] {11,22}
};
            CollectionAssert.AreEqual(arr2, arr);

        }