Example #1
0
        public void Test1()
        {
            //Arrange
            var expected = LocationSingletory.GetLocation(1);
            //Act
            var actual = LocationSingletory.GetLocation(6);

            //Assert
            Assert.Null(actual);
        }
Example #2
0
        public void TestName()
        {
            //Arrange
            var lift = new Lift();

            EFloor[] eFloor = new EFloor[4];
            int      i      = 1;

            while (i <= eFloor.Length)
            {
                var newFloor = LocationSingletory.GetLocation(i) as EFloor;
                eFloor[i - 1] = newFloor;
                i++;
            }
            int expected = 0;

            //Act



            //Assert
        }