Example #1
0
        public void GetTransportCostTest()
        {
            //Przygotowanie
            GameParams g  = new GameParams();
            Functions  f  = new Functions();
            Round      r1 = new Round()
            {
                WandsAmount = 10
            };
            double d1 = 0;

            //DziaƂanie
            d1 = f.GetTransportCost(r1);
            //Sprawdzenie
            Assert.AreEqual(d1, g.TransportCosts * 10);
        }