public void GetIdleTimeMilliseconds_increases_over_time() { var session = new BaseSession(null); Thread.Sleep(20); Assert.InRange(session.GetIdleTime().TotalMilliseconds, 15, 100); }
public void GetIdleTimeMilliseconds_starts_at_zero() { var session = new BaseSession(null); Assert.InRange(session.GetIdleTime().TotalMilliseconds, 0, 15); }