Пример #1
0
        public void GivenSetWithOneWebsiteShouldDeleteOneWebsite()
        {
            int sizeOfSet = ipMonitor.GetWebsites().Count;

            ipMonitor.AddWebsite(WEBSITE3);
            ipMonitor.RemoveWebsite(WEBSITE3);
            Assert.AreEqual(sizeOfSet, ipMonitor.GetWebsites().Count);
        }
Пример #2
0
        public void ShouldAddOneValidWebsiteThenRemoveIt()
        {
            int amntOfWebsites = ipMonitor.GetWebsites().Count;

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