示例#1
0
        public void InsertRoom_InvalidValues_ReturnsFalse()
        {
            // Arange
            var Room = new ROOM();

            // Act
            String Name = "dsads";
            int    cap  = 2147483647;

            var Result = Room.InsertRoom(Name, cap);

            // Assert
            Assert.IsFalse(Result);
        }
示例#2
0
        public void InsertRoom_NegativeValues_ReturnsFalse()
        {
            // Arange
            var Room = new ROOM();

            // Act
            String Name = "test";
            int    cap  = -1;

            var Result = Room.InsertRoom(Name, cap);

            // Assert
            Assert.IsFalse(Result);
        }