public void CPlusD() { //Mention quantity of SKU ID's(Products) in order A,B,C,D ShoppingClass obj = new ShoppingClass(); double result = obj.ShoppingCart(0, 0, 1, 1); Assert.AreEqual(30, result); }
public void ScenarioC() { //Mention quantity of SKU ID's(Products) in order A,B,C,D ShoppingClass obj = new ShoppingClass(); double result = obj.ShoppingCart(3, 5, 1, 1); Assert.AreEqual(280, result); }
public void TwoB() { //Mention quantity of SKU ID's(Products) in order A,B,C,D ShoppingClass obj = new ShoppingClass(); double result = obj.ShoppingCart(0, 2, 0, 0); Assert.AreEqual(45, result); }