Exemple #1
0
        public void TestConstructor()
        {
            //Arrange

            //Act
            Floor floor = new Floor(1, 2, "x1");

            //Assert
            Assert.IsNotNull(floor);
            Assert.IsInstanceOf(typeof(Floor), floor);
            Assert.AreEqual(1, floor.GetID());
            Assert.AreEqual(2, floor.GetBuildingID());
            Assert.AreEqual("x1", floor.GetName());
        }