public void MaxProfitOnePass_Returns_ExpectedResults(int[] prices, int expected)
        {
            var actual = BestTimeToBuyAndSellStock1.MaxProfitOnePass(prices);

            Assert.AreEqual(expected, actual);
        }
 public int MaxProfitOnePass() => BestTimeToBuyAndSellStock1.MaxProfitOnePass(Prices);