Exemplo n.º 1
0
        public void TestGetMinOrderNumber(int[] orders, int number)
        {
            var objects = orders.Select(x => new TestOrderObject {
                Order = x
            }).ToArray();
            var result = OrderUtils.GetMinOrderNumber(objects);

            Assert.AreEqual(result, number);
        }