Example #1
0
        public void TestDescendantsLimit()
        {
            RetrieveStoryModel rsm = new RetrieveStoryModel();

            rsm.Descendants = 0;

            Assert.IsTrue(rsm.testDescendants());
        }
Example #2
0
        public void TestDescendantsFail()
        {
            RetrieveStoryModel rsm = new RetrieveStoryModel();

            rsm.Descendants = -55;

            Assert.IsFalse(rsm.testDescendants());
        }