public void SortingSumTestStright()
        {
            int[][] arr =
{
    new int[] {1,3,5,7,9},
    new int[] {0,2,4,6},
    new int[] {11,22}
};
            SumElements max = new SumElements(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);

        }
        public void SortingMaxTestReverse()
        {
            int[][] arr =
{
    new int[] {1,3,5,7,9},
    new int[] {0,2,4,6},
    new int[] {11,22}
};
            SumElements max = new SumElements(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);

        }