public void GetLinkCount4() { int?linkCount; linkCount = Delicious.GetLinkCount(readEmbeddedText("Delicious_1Link.txt")); Assert.AreEqual(1, linkCount); }
public void GetLinkCount2() { int?linkCount; linkCount = Delicious.GetLinkCount(readEmbeddedText("Delicious_NoLinks.txt")); Assert.AreEqual(0, linkCount); }
public void GetLinkCount3() { int?linkCount; linkCount = Delicious.GetLinkCount("this is bad text"); Assert.AreEqual(null, linkCount); }
public void GetLinkCount() { int?linkCount; linkCount = Delicious.GetLinkCount(readEmbeddedText("Delicious_Sample1.txt")); Assert.AreEqual(369, linkCount); }