public void BubbleSortDelegate_SortMinElementAscendArray_Axpected_ArgumentNullException()
        {
            int[][] inputArray = null;

            var comparer = new SortMinElementAscendArrayWithoutInterface();

            Func <int[], int[], int> delegatInput = comparer.Compare;

            Assert.Throws <ArgumentNullException>(() => BubbleSortAcrossDelegate.BubbleSortDelegate(inputArray, delegatInput));
        }
        public void BubbleSortDelegate_SortMinElementAscendArray_With_Valid_Data()
        {
            var inputArray = HelperSort.GetJaggedArray();

            var comparer = new SortMinElementAscendArrayWithoutInterface();

            Func <int[], int[], int> delegatInput = comparer.Compare;

            BubbleSortAcrossDelegate.BubbleSortDelegate(inputArray, delegatInput);

            var outputMinElementRowArray = HelperSort.SortMinElementAscendHelper(inputArray).Item2;

            Assert.IsTrue(HelperSort.SortMinElementAscendHelper(inputArray).Item1);
        }