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

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

            var Result = Room.EditRooms(id, Name, cap);

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

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

            var Result = Room.EditRooms(id, Name, cap);

            // Assert
            Assert.IsFalse(Result);
        }