コード例 #1
0
        public void GetIdleTimeMilliseconds_increases_over_time()
        {
            var session = new BaseSession(null);

            Thread.Sleep(20);
            Assert.InRange(session.GetIdleTime().TotalMilliseconds, 15, 100);
        }
コード例 #2
0
 public void GetIdleTimeMilliseconds_increases_over_time()
 {
     var session = new BaseSession(null);
     Thread.Sleep(20);
     Assert.InRange(session.GetIdleTime().TotalMilliseconds, 15, 100);
 }
コード例 #3
0
 public void GetIdleTimeMilliseconds_starts_at_zero()
 {
     var session = new BaseSession(null);
     Assert.InRange(session.GetIdleTime().TotalMilliseconds, 0, 15);
 }
コード例 #4
0
        public void GetIdleTimeMilliseconds_starts_at_zero()
        {
            var session = new BaseSession(null);

            Assert.InRange(session.GetIdleTime().TotalMilliseconds, 0, 15);
        }