public void TestThatBatteryPercentageDepletes20PercentAtEachPollForSmokeSensor()
        {
            ILocationProvider SAU = new SensorInAuditorium();
            IBatterySensor    SS  = new SmokeSensor(SAU);

            SFCU_SS = new SafetyControlUnit <IBatterySensor>(new List <IBatterySensor> {
                SS
            });

            SFCU_SS.PollSensors();
            Assert.AreEqual("Battery power of the Sensor at the auditorium of type AlarmSystem.SmokeSensor is at 0.8percent\n", SFCU_SS.GetBatteryPercentage());
        }
        public void TestThatBatteryPercentageDepletes10PercentAtEachPollForFireSensor()
        {
            ILocationProvider LFF = new SensorLobby1stFloor();
            IBatterySensor    FS  = new FireSensor(LFF);

            SFCU_FS = new SafetyControlUnit <IBatterySensor>(new List <IBatterySensor> {
                FS
            });

            SFCU_FS.PollSensors();
            Assert.AreEqual("Battery power of the Sensor at the Lobby 1st floor of type AlarmSystem.FireSensor is at 0.9percent\n", SFCU_FS.GetBatteryPercentage());
        }