Exemple #1
0
        public void RepeatToStringMatch(RepeatAmount actAmount, int actCount, string pattern)
        {
            var repeat = new RepeatInfo {
                RepeatAmount = actAmount, RepeatCount = actCount
            };

            Assert.Equal(pattern, repeat.ToString());
        }
Exemple #2
0
        public void EmptyRepeatProducesNoneString()
        {
            var repeat = new RepeatInfo();

            Assert.Equal("None-0-times", repeat.ToString());
        }