Example #1
0
        public void GetQualityInfluenceTest()
        {
            //Przygotowanie
            GameParams g  = new GameParams();
            Functions  f  = new Functions();
            Round      r1 = new Round()
            {
                QualityExpense = 100, QualityExpensePrevious = 60
            };
            double d1 = 0;

            //DziaƂanie
            d1 = f.GetQualityInfluence(r1);
            //Sprawdzenie
            Assert.AreEqual(d1, 160);
        }