public void CountMcNullTest() { //Setup string parkingPlace; parkingPlace = null; int expectedCount = 0; int actualCount; //Act actualCount = ParkingSlot.CountMc(parkingPlace); //Verify Assert.AreEqual(expectedCount, actualCount); }
public void CountMc2McTest() { //Setup string parkingPlace; parkingPlace = "poi987:abc124"; int expectedCount = 2; int actualCount; //Act actualCount = ParkingSlot.CountMc(parkingPlace); //Verify Assert.AreEqual(expectedCount, actualCount); }