Пример #1
0
        public void Transformations_AbstractTrace_FindAll1()
        {
            trace.FindInWhere(ruleT1, s => true).AssertContainsOnly("b", null);
            trace.FindInWhere(ruleT1, null).AssertContainsOnly("b", null);
            trace.FindInWhere(ruleT1, s => false).AssertEmpty();
            trace.FindAllIn(ruleT1).AssertContainsOnly("b", null);

            trace.FindWhere <string, string>(s => true).AssertContainsOnly("b", null);
            trace.FindAll <string, string>().AssertContainsOnly("b", null);
            trace.FindWhere <string, string>(s => false).AssertEmpty();
            trace.FindWhere <string, string>(null).AssertContainsOnly("b", null);
        }