public void RandomChars_GenerateRandomSetsOfChars() { // Arrange LicensePlate licencePlateOne = new LicensePlate(); // Act string charsOne = licencePlateOne.RandomChars(); string charsTwo = licencePlateOne.RandomChars(); // Assert Assert.NotEqual(charsOne, charsTwo); }
public void RamdomChars_GenerateRandomChar() { // Arrange LicensePlate licencePlateOne = new LicensePlate(); // Act string chars = licencePlateOne.RandomChars(); char firstLetter = chars[0]; char secondLetter = chars[1]; // Assert Assert.NotEqual(firstLetter, secondLetter); }