public void MinDateMinus1() { DateTime testdata = DateTime.Now.AddDays(-1); order.Date_Ordered = testdata; string error = ""; Assert.AreEqual(error, order.dateTimevalid(order.Date_Ordered)); }
public void MinDateMinus1() { DateTime testdata = DateTime.Now.AddDays(-1); order.Date_Ordered = testdata; string error = ""; Assert.AreEqual(error, order.dateTimevalid(order.Date_Ordered)); }