Exemple #1
0
        public void RoomCap_InvalidValues_AreEqual()
        {
            // Arange
            var Room = new ROOM();

            // Act
            int cap = 101;

            var Result = Room.RoomCap(cap);

            // Assert
            Assert.AreEqual(0, Result);
        }
Exemple #2
0
        public void RoomCap_validValues_AreNotSame()
        {
            // Arange
            var Room = new ROOM();

            // Act
            int cap = 1;

            var Result = Room.RoomCap(cap);

            // Assert
            Assert.AreNotSame(0, Result);
        }
Exemple #3
0
        public void RoomCap_NegativeValues_AreEqual()
        {
            // Arange
            var Room = new ROOM();

            // Act
            int cap = -1;

            var Result = Room.RoomCap(cap);

            // Assert
            Assert.AreEqual(0, Result);
        }