public void BubbleSortList_Returns_SameResultAsDefaultSorting()
        {
            SortListHelper sortListHelper = new SortListHelper();

            sortListHelper.BubbleSortList(bubbleList);
            numberList.Sort();

            Assert.IsTrue(AreListEqual(bubbleList, numberList));
        }
        public void BubbleSortList_IsSlowerThanDefaultSorting()
        {
            Stopwatch stopwatch = new Stopwatch();

            stopwatch.Start();
            SortListHelper sortListHelper = new SortListHelper();

            sortListHelper.BubbleSortList(bubbleList);
            stopwatch.Stop();
            var bubbleSortingTime = stopwatch.Elapsed.Ticks;

            stopwatch.Reset();
            stopwatch.Start();
            numberList.Sort();
            stopwatch.Stop();
            var defaultSortingTime = stopwatch.Elapsed.Ticks;

            Assert.IsTrue(bubbleSortingTime > defaultSortingTime);
        }