Esempio n. 1
0
        public void GetLinkCount4()
        {
            int?linkCount;

            linkCount = Delicious.GetLinkCount(readEmbeddedText("Delicious_1Link.txt"));

            Assert.AreEqual(1, linkCount);
        }
Esempio n. 2
0
        public void GetLinkCount2()
        {
            int?linkCount;

            linkCount = Delicious.GetLinkCount(readEmbeddedText("Delicious_NoLinks.txt"));

            Assert.AreEqual(0, linkCount);
        }
Esempio n. 3
0
        public void GetLinkCount3()
        {
            int?linkCount;

            linkCount = Delicious.GetLinkCount("this is bad text");

            Assert.AreEqual(null, linkCount);
        }
Esempio n. 4
0
        public void GetLinkCount()
        {
            int?linkCount;

            linkCount = Delicious.GetLinkCount(readEmbeddedText("Delicious_Sample1.txt"));

            Assert.AreEqual(369, linkCount);
        }