public void TestCalcCost_5() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); decimal expected = 48m; decimal actual = strategy.CalcCost(1.5m, false, 10, false); Assert.AreEqual(expected, actual); }
public void TestCalcCost_8() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); decimal expected = 95m; decimal actual = strategy.CalcCost(10m, false, 25, false); Assert.AreEqual(expected, actual); }
public void TestCalcCost_4() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); decimal expected = 90m; decimal actual = strategy.CalcCost(10m, true, null, false); Assert.AreEqual(expected, actual); }
public void TestCalcCost_9() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); decimal expected = 315m; decimal actual = strategy.CalcCost(10m, false, null, true); Assert.AreEqual(expected, actual); }
public void TestCalcCost_7() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); decimal expected = 68m; decimal actual = strategy.CalcCost(1.5m, false, 25, false); Assert.AreEqual(expected, actual); }
public void TestCalcCost_2() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); decimal expected = 27m; decimal actual = strategy.CalcCost(4m, false, null, false); Assert.AreEqual(expected, actual); }
public void TestCalcCost_Validation_1() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); strategy.CalcCost(0, false, null, false); }
public void TestCalcCost_Validation_6() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); strategy.CalcCost(3, false, 10, true); }
public void TestCalcCost_Validation_5() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); strategy.CalcCost(3, true, null, true); }
public void TestCalcCost_Validation_4() { IOrderCostCalcStrategy strategy = new OrderCostCalcStrategy(); strategy.CalcCost(3, true, 50, false); }