public void ParkingIsFreeForMc_TestNull() { // Setup VehicleType vehicle = VehicleType.Mc; string parkingSlot = null; bool expected = true; bool actual; // Act actual = ParkingSlot.IsFreeForMc(parkingSlot, vehicle); // Verify Assert.AreEqual(expected, actual); }
public void ParkingIsFreeForMc_2McTest() { // Setup VehicleType vehicle = VehicleType.Mc; string parkingSlot = "abc987:iuy654"; bool expected = false; bool actual; // Act actual = ParkingSlot.IsFreeForMc(parkingSlot, vehicle); // Verify Assert.AreEqual(expected, actual); }