public void addOrdertest() { List <Program.Order> testList = new List <Program.Order>(); Program.Order order = new Program.Order(); order.Detail.Num = 0; testList.Add(order); Assert.IsNotNull(testList); }
public void ChangeListTest() { List <Program.Order> testList = new List <Program.Order>(); Program.Order order = new Program.Order(); testList.RemoveAt(1); order.Detail.Num = 1; Assert.IsNull(testList); Assert.IsNotNull(testList); }
public void SearchListTest() { List <Program.Order> testList = new List <Program.Order>(); Program.Order order = new Program.Order(); order.Detail.CutomerName = "122"; order.Detail.ProductName = "111"; order.Detail.Num = 1; Assert.IsNull(testList); Assert.IsNotNull(testList); }