Пример #1
0
        public void Collect_SingleTest()
        {
            var results = _instance.Collect(10, 2);

            Assert.AreEqual(1, results.Count);
            Assert.AreSame(GetFromAnum(1, 2), results[0]);
        }
Пример #2
0
        public void NumberingCrawler_NullNumberingTest()
        {
            var instance = new NumberingProvider(null, _styles);

            Assert.AreEqual(0, instance.Collect(10, 2).Count);
        }