public void TestTagsDescription() { TimelineEvent evt = CreateTimelineEvent(); Assert.AreEqual(evt.TagsDescription(), "test"); evt.Tags.Add(new Tag("test2")); Assert.AreEqual(evt.TagsDescription(), "test-test2"); evt.Tags.Reset(new ObservableCollection <Tag> ()); Assert.AreEqual(evt.TagsDescription(), ""); }
public void TestTagsDescription() { TimelineEvent evt = CreateTimelineEvent(); Assert.AreEqual(evt.TagsDescription(), "test"); evt.Tags.Add(new Tag("test2")); Assert.AreEqual(evt.TagsDescription(), "test-test2"); evt.Tags = new List <Tag> (); Assert.AreEqual(evt.TagsDescription(), ""); }