public void CalculatorFee_is_1_episode_1_quantity_Fee_Should_Be_100() { //arrange var target = new CalculatorFeeService(); var expected = 100; //act var actual = target.CalculatorFee(); //assert Assert.AreEqual(expected, Convert.ToInt32(actual)); }
public void CalculatorFee_is_1_episode_1_quantity_2_episode_1_quantity_3_episode_1_quantity_4_episode_1_quantity_Fee_Should_Be_320() { //arrange var stubDAO = new StubShoppingCartDao(); var target = new CalculatorFeeService(stubDAO, 4); var expected = 320; //act var actual = target.CalculatorFee(); //assert Assert.AreEqual(expected, Convert.ToInt32(actual)); }