public void BonusPriceStrategyCorrectPrice() { IPriceStrategy bonusPriceStrategy = new BonusPriceStrategy(multiplicator: 3, daysForActivityBonus: 1); Assert.AreEqual(30, bonusPriceStrategy.computePrice(10)); }
public void BonusPriceStrategyCorrectBonusesForMoreThanOneDays() { IPriceStrategy bonusPriceStrategy = new BonusPriceStrategy(multiplicator: 3, daysForActivityBonus: 1); Assert.AreEqual(1, bonusPriceStrategy.getBonusPoints(2)); }