예제 #1
0
        public void TestSumEmpty()
        {
            var expected = new EmptyRegex <int>();
            var actual   = RegexUtils.Sum <int>();

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void EmptyCharacterClass()
        {
            const string input    = "[]";
            var          expected = new EmptyRegex <char>();
            var          actual   = this.converter.Convert(input);

            Assert.AreEqual(expected, actual);
        }