public void SequenceGenerator_GetAllNumberSequence_WithValidInput() { // Arrange AllNumberSequenceGenerator seqGenerator = new AllNumberSequenceGenerator(); // Act var numSeq = seqGenerator.GetSequence(10); string[] expected = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" }; // Assert Assert.IsTrue(numSeq.SequenceEqual(expected)); }
public void SequenceGenerator_ValidateInput_ThrowException_WithInvalidInput() { // Arrange AllNumberSequenceGenerator seqGenerator = new AllNumberSequenceGenerator(); //Act seqGenerator.GetSequence(0); }