示例#1
0
        public void After1DaySellinAndQualityDecreasedBy1()
        {
            var qc = new QualityCalculator();

            qc.UpdateQuality();

            Assert.Equal(19, qc.Items.Single(i => i.Name == "+5 Dexterity Vest").Quality);
        }
示例#2
0
        public static void Main(string[] args)
        {
            System.Console.WriteLine("OMGHAI!");

            var qualityCalc = new QualityCalculator();

            qualityCalc.UpdateQuality();

            System.Console.ReadKey();
        }