public void EmptyRepeatProducesNoneString() { var repeat = new RepeatInfo(); Assert.Equal("None-0-times", repeat.ToString()); }
public void RepeatToStringMatch(RepeatAmount actAmount, int actCount, string pattern) { var repeat = new RepeatInfo {RepeatAmount = actAmount, RepeatCount = actCount}; Assert.Equal(pattern, repeat.ToString()); }