Exemplo n.º 1
0
        public void FindfirstChild_primitiveAND()
        {
            var qc = new ANDOperator("AND(A,B)");
            var fc = qc.getFirstOccuringChildOf(new EventType("A"), new EventType("B"));

            Assert.Equal(new EventType("A"), fc);
        }
Exemplo n.º 2
0
        public void FindfirstChild_complex()
        {
            var qc = new ANDOperator("AND(B,SEQ(B,C), D)");
            var fc = qc.getFirstOccuringChildOf(new EventType("D"), new EventType("C"));

            Assert.Equal(new EventType("C"), fc);
        }