예제 #1
0
 public void GetCustomerTest()
 {
     CustomerCRUD.addCustomer(88, "Joan", "Jett");
     Assert.AreEqual(CustomerCRUD.GetCustomer(88).customer_f_name, "Joan");
     Assert.AreEqual(CustomerCRUD.GetCustomerByLastName("Jett").customer_id, (88));
     Assert.AreEqual(CustomerCRUD.GetCustomerByNames("Joan", "Jett").customer_id, 88);
     CustomerCRUD.deleteCustomer(88);
 }