public void TestCreateTime() { var now = DateTime.Now; var newTime = NotificationIcon.CreateDate(now, "22:00:00"); Assert.AreEqual(newTime, new DateTime(now.Year, now.Month, now.Day, 22, 0, 0), "Failed to create date time"); }
public void TestCreateTime() { var now = DateTime.Now; var newTime = NotificationIcon.CreateDate(now, "22:00:00"); Assert.AreEqual(newTime, new DateTime(now.Year, now.Month, now.Day, 22, 0, 0), "Failed to create date time"); }