public void TimeoutValueZero() { Tracert tr = new Tracert(); tr.Timeout = 0; }
private void Form1_Load(object sender, EventArgs e) { Tracert rt = new Tracert(); foreach (var en in rt.Trace("google.com")) Console.WriteLine(en); }
public void TimeoutValueNegativeNumber() { Tracert tr = new Tracert(); tr.Timeout = -1; }
public void InvalidIpLetterSmall() { Tracert tr = new Tracert(); tr.Trace("a").First(); }
public void InvalidIpLetterCapital() { Tracert tr = new Tracert(); tr.Trace("A").First(); }
public void HopsNumberZero() { Tracert tr = new Tracert(); tr.MaxHops = 0; }
public void HopsNumberNegative() { Tracert tr = new Tracert(); tr.MaxHops = -1; }