public void Defaults() { var now = DateTimeOffset.Now; var e0 = new VEvent(); var e1 = new VEvent(); Assert.AreNotEqual(e0.Id, e1.Id, "id is not unique"); Assert.IsFalse(e0.StartsOn.HasValue, "starts on"); Assert.AreEqual(AccessClassification.Public, e0.Classification); Assert.AreEqual(0, e0.Priority, "undefined priority"); Assert.AreEqual(0, e0.Revision); Assert.IsFalse(e0.IsTransparent, "opaque"); }
public void MailAddressForOrganiser() { var meeting = new VEvent(); meeting.Organizer = new MailAddress("*****@*****.**", "Jane Doe"); }