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

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

            Assert.AreEqual(expected, actual);
        }