public void TestNotDwell()
        {
            var tgtPoint = new Point(100, 100);
            var tgt      = new DwellableTarget(tgtPoint, "notDwell", 0, 0);
            var tracked  = new Tracked(0, 100, 101);

            Thread.Sleep(1 * 1000);
            Assert.IsFalse(tgt.DetectDwell(tracked, 2, TimeSpan.FromSeconds(2)));
        }
        public void TestTrueDwell()
        {
            var tgtPoint = new Point(100, 100);
            var tgt      = new DwellableTarget(tgtPoint, "testDwell", 0, 0);
            var tracked  = new Tracked(0, 100, 101);

            Thread.Sleep(3 * 1000);
            Assert.IsTrue(tgt.DetectDwell(tracked, 2, TimeSpan.FromSeconds(3)));
        }