public void TestThatIsTriggeredReturnsTrue()
            {
                MotionSensor sensor          = new MotionSensor();
                bool         isTriggeredTrue = sensor.Trigger() == true ? true : true;

                Assert.AreEqual(true, isTriggeredTrue);
            }
            public void TestThatIsTriggeredReturnsFalse()
            {
                MotionSensor sensor           = new MotionSensor();
                bool         isTriggeredFalse = sensor.Trigger() == true ? false : false;

                Assert.AreEqual(false, isTriggeredFalse);
            }
            public void TestThatIsTriggeredCanReturnTrue()
            {
                MotionSensor sensor  = new MotionSensor();
                List <bool>  results = new List <bool>();

                for (var i = 0; i <= 1000; i++)
                {
                    results.Add(sensor.Trigger());
                }

                Assert.AreEqual(true, results.Contains(true));
            }