コード例 #1
0
        public void ConsecutiveString_WithSpacing_RawString(string s, bool isConsecutive)
        {
            var result = ConsecutiveString.IsConsecutiveWithSpacing(s);

            Assert.AreEqual(result, isConsecutive);
        }
コード例 #2
0
        public void ConsecutiveString_WithDeliminator_RawString(string s, bool isConsecutive)
        {
            var result = ConsecutiveString.IsConsecutive(s, '-');

            Assert.AreEqual(result, isConsecutive);
        }