Пример #1
0
 public void TestRemoveKids()
 {
     using (TCODBSP bspSized = new TCODBSP(0, 0, 10, 10))
     {
         bspSized.SplitOnce(false, 6);
         Assert.IsNotNull(bspSized.GetLeft());
         Assert.IsNotNull(bspSized.GetRight());
         bspSized.RemoveSons();
         Assert.IsNull(bspSized.GetLeft());
         Assert.IsNull(bspSized.GetRight());
     }
 }