Пример #1
0
        public static void Main(string[] args)
        {
            Console.WriteLine("OMGHAI!");
            IList <Item> Items = ListOfItems();
            var          app   = new GildedRoseKata(Items);


            for (var i = 0; i < 31; i++)
            {
                Console.WriteLine("-------- day " + i + " --------");
                Console.WriteLine("name, sellIn, quality");
                for (var j = 0; j < Items.Count; j++)
                {
                    System.Console.WriteLine(Items[j].Name + ", " + Items[j].SellIn + ", " + Items[j].Quality);
                }
                Console.WriteLine("");
                app.UpdateQuality();
            }
        }
Пример #2
0
 public void SetUp()
 {
     Items          = new List <Item>();
     gildedRoseKata = new GildedRoseKata(Items);
 }