public void Generate_0_Characters_Returns_Six() { //Arrange IQaStringGeneratorService service = new QaStringGeneratorService(); //Act var actual = service.Generate(0, Six); //Assert Assert.AreEqual(Six, actual); }
public void Generate_10_Characters_With_Six_Returns_NoWrap_Six_QaApproved() { //Arrange IQaStringGeneratorService service = new QaStringGeneratorService(); //Act var actual = service.Generate(10, Six, true); //Assert Assert.AreEqual("123456_10_", actual); }
public void Generate_0_Characters_Returns_AlphabetSoup() { //Arrange IQaStringGeneratorService service = new QaStringGeneratorService(); //Act var actual = service.Generate(0); //Assert Assert.AreEqual(QaStringGeneratorService.AlphabetSoup, actual); }
public void Generate_0_Characters_Returns_AlphabetSoup_QaApproved() { //Arrange IQaStringGeneratorService service = new QaStringGeneratorService(); //Act var actual = service.Generate(0, true); //Assert Assert.AreEqual(QaStringGeneratorService.AlphabetSoup + "_30_", actual); }
public void Generate_Negative_Count_Characters_Returns_Six_QaApproved() { //Arrange IQaStringGeneratorService service = new QaStringGeneratorService(); //Act var actual = service.Generate(-1, Six, true); //Assert Assert.AreEqual("123456_9_", actual); }
public void Generate_7_Characters_Six_Returns_7() { //Arrange IQaStringGeneratorService service = new QaStringGeneratorService(); //Act var actual = service.Generate(7, Six); //Assert Assert.AreEqual("1234561", actual); }
public void Generate_7_Characters_Returns_4_QaApproved() { //Arrange IQaStringGeneratorService service = new QaStringGeneratorService(); //Act var actual = service.Generate(7, Six, true); //Assert Assert.AreEqual("1234_7_", actual); }