public void TestBestTimeToBuySellStockWithBadInput()
        {
            int[] input = { 7, 6, 4, 3, 1 };

            int profit = BestTimeToBuySellStock.MaxProfit(input);

            Assert.IsTrue(profit == 0);
        }
        public void TestBestTimeToBuySellStockWithNormalInput()
        {
            int[] input = { 7, 1, 5, 3, 6, 4 };

            int profit = BestTimeToBuySellStock.MaxProfit(input);

            Assert.IsTrue(profit == 5);
        }