Example #1
0
        public void ShouldAddOneWebsite()
        {
            int sizeOfSet = ipMonitor.GetWebsites().Count;

            ipMonitor.AddWebsite(WEBSITE3);
            Assert.AreEqual(sizeOfSet + 1, ipMonitor.GetWebsites().Count);
        }
Example #2
0
        public void ShouldAddOneValidWebsite()
        {
            int amntOfWebsites = ipMonitor.GetWebsites().Count;

            ipMonitor.AddWebsite(WEBSITE1);
            Assert.AreEqual(amntOfWebsites + 1, ipMonitor.GetWebsites().Count);
        }