Пример #1
0
        public void Single_exclude()
        {
            var filter = new Filter();

            filter.AddExclude("test");
            filter.Match("test").Should().Be(Filter.MatchStatus.Excluded);
        }
Пример #2
0
        public void Single_include_no_match()
        {
            var filter = new Filter();

            filter.AddExclude("test");
            filter.Match("tes").Should().Be(Filter.MatchStatus.None);
        }