public void Mixed()
 {
     var filter = new MatchingAllFilter
     {
         Children = new []
         {
             new DelegateFilter((x)=>true),
             new DelegateFilter((x)=>false),
         }
     };
     Assert.IsFalse(filter.IsMatch(new DummyFile(), environment));
 }
示例#2
0
        public void Mixed()
        {
            var filter = new MatchingAllFilter
            {
                Children = new []
                {
                    new DelegateFilter((x) => true),
                    new DelegateFilter((x) => false),
                }
            };

            Assert.IsFalse(filter.IsMatch(new DummyFile(), environment));
        }