Ejemplo n.º 1
0
        public void TestPingIncorrect()
        {
            var client = new WebClient.WebClient("tolltech.ru/studyyy");

            Assert.AreEqual(false, client.Ping());
        }
Ejemplo n.º 2
0
        public void TestPingCorrect()
        {
            var client = new WebClient.WebClient("tolltech.ru/study");

            Assert.AreEqual(true, client.Ping());
        }