Ejemplo n.º 1
0
        public void feed_enumerate_feed_items()
        {
            XDocument document;
            using (var stream = GetType().Assembly.GetManifestResourceStream("Sketch.Test.sample-deviant-art-rss.xml"))
            {
                document = XDocument.Load(stream);
            }
            var feed = new Feed(document);

            Assert.IsTrue(feed is IEnumerable<FeedItem>);
            Assert.AreNotEqual(0, feed.Count());
        }