public void ContainsVehicle1McFalseTest() { //Setup string parkingPlace; parkingPlace = ":gfd765"; string registrationNumber = "ifd765"; bool expected = false; bool actual; //Act actual = ParkingSlot.ContainsVehicle(parkingPlace, registrationNumber); //Verify Assert.AreEqual(expected, actual); }
public void ContainsVehicle2McTrueleftTest() { //Setup string parkingPlace; parkingPlace = "098iuy:gfd765"; string registrationNumber = "098iuy"; bool expected = true; bool actual; //Act actual = ParkingSlot.ContainsVehicle(parkingPlace, registrationNumber); //Verify Assert.AreEqual(expected, actual); }
public void ContainsVehicleCarTest() { //Setup string parkingPlace; parkingPlace = "gfd765,1999-01-02 13:34"; string registrationNumber = "gfd765"; bool expected = true; bool actual; //Act actual = ParkingSlot.ContainsVehicle(parkingPlace, registrationNumber); //Verify Assert.AreEqual(expected, actual); }