Ejemplo n.º 1
0
        public void ContainsMc2McTrueleftTest()
        {
            //Setup
            string parkingPlace;

            parkingPlace = "098iuy:gfd765";
            string registrationNumber = "098iuy";
            bool   expected           = true;
            bool   actual;

            //Act
            actual = ParkingSlot.ContainsMc(parkingPlace, registrationNumber);

            //Verify
            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
        public void ContainsMc1McFalseTest()
        {
            //Setup
            string parkingPlace;

            parkingPlace = ":gfd765";
            string registrationNumber = "ifd765";
            bool   expected           = false;
            bool   actual;

            //Act
            actual = ParkingSlot.ContainsMc(parkingPlace, registrationNumber);

            //Verify
            Assert.AreEqual(expected, actual);
        }