Exemple #1
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     _tree = new TestTree <int>(1,
                                new[] {
         Tree(2,
              new[]
         {
             Tree(3), Tree(4),
         }),
         Tree(5)
     });
 }
Exemple #2
0
 protected override void EstablishContext()
 {
     _testTree = Tree(1,
                      new[]
     {
         Tree(2),
         Tree(DONT_GO_TO_CHILDREN,
              new[]
         {
             Tree(991)
         }),
         Tree(STOP_ON_THIS_NODE),
         Tree(5)
     });
     _unnested = new List <int>();
     _nested   = new List <int>();
 }
Exemple #3
0
 public void BuildContext()
 {
     _tree = Tree(1, Tree(2), Tree(3, Tree(4)));
 }
Exemple #4
0
 public void BuildContext()
 {
     _tree = null;
 }