public void SortByMaxElement_WithEmptyArray_ReturnArgumentException()
        {
            int[][]  actualArray = new int[][] { };
            SortType type        = SortType.increasing;

            Assert.Throws <ArgumentException>(() => BubbleSortDelegateToInterface.SortByMaxElement(ref actualArray, type));
        }
        public void SortByMaxElement_Increasing_WithCorrectData_ReturnsCorrectResult()
        {
            int[][]  expectedArray = new int[][] { new int[] { 1, 2, 3 }, new int[] { 4, 5 }, new int[] { 10 } };
            int[][]  actualArray   = new int[][] { new int[] { 10 }, new int[] { 4, 5 }, new int[] { 1, 2, 3 } };
            SortType type          = SortType.increasing;

            BubbleSortDelegateToInterface.SortByMaxElement(ref actualArray, type);

            Assert.AreEqual(expectedArray, actualArray);
        }