public void GetAdInfluenceTest() { //Przygotowanie GameParams g = new GameParams(); Functions f = new Functions(); Round r1 = new Round() { AdExpense = 100, AdExpensePrevious = 60 }; double d1 = 0; //Działanie d1 = f.GetAdInfluence(r1); //Sprawdzenie Assert.AreEqual(d1, 160); }