public void UpdateEventTest() { EventCRUD.addEvent(68, DateTime.Now, true, 55, 4, 5); Assert.IsTrue(EventCRUD.updateAmount(68, 76)); Assert.AreEqual(EventCRUD.GetEvent(68).amount, 76); Assert.IsTrue(EventCRUD.updateDonut(68, 7)); Assert.AreEqual(EventCRUD.GetEvent(68).donut, 7); Assert.IsTrue(EventCRUD.updateCustomer(68, 6)); Assert.AreEqual(EventCRUD.GetEvent(68).customer, 6); Assert.IsTrue(EventCRUD.updateType(68, false)); Assert.AreEqual(EventCRUD.GetEvent(68).is_stocking_event, false); Assert.IsTrue(EventCRUD.updateTime(68, DateTime.Now)); EventCRUD.deleteEvent(68); }