public void InputStringDifferentLenghtAndDifeerenceSequences(string inputString, int expected) { var sequenceLen = new SequenceLength(inputString); var actual = sequenceLen.SequenceGetCounter(); Assert.AreEqual(actual, expected); }
public void InputAnotherStringWhenNull() { string inputString = null; var sequenceLenght = new SequenceLength(inputString); var actual = sequenceLenght.SequenceGetCounter(); var expected = new ArgumentNullException(); Assert.AreEqual(actual, expected); }