public void GetProductListTest() { _ShopListPresentationModel.GetCurrentProduce("1", 0, "主機板"); _ShopListPresentationModel.AddItemToCart(); Assert.AreEqual(_ShopListPresentationModel.GetProductList()[0], _productManagement.AllProducts[0]); }
public void GetProductListTest() { _ShopListPresentationModel.GetCurrentProduce("1", 0, "主機板"); _ShopListPresentationModel.AddItemToCart(); Assert.AreEqual(_ShopListPresentationModel.GetProductList()[0], _productManagement.AllProducts[0]); }