Exemple #1
0
        public void GetUIDTest()
        {
            LightSensor ls  = new LightSensor();
            FireSensor  fs  = new FireSensor();
            LightSensor ls2 = new LightSensor();
            FireSensor  fs2 = new FireSensor();
            DoorSensor  ds  = new DoorSensor();
            DoorSensor  ds2 = new DoorSensor();

            Assert.AreNotEqual(ls.getSensorUID(), ls2.getSensorUID());
            Assert.AreNotEqual(fs.getSensorUID(), fs2.getSensorUID());
            Assert.AreNotEqual(ds.getSensorUID(), ds2.getSensorUID());
        }