示例#1
0
 private void Start()
 {
     foreach (Order order in OrderDataManager.Orders.orders)
     {
         tree.Insert(order.id, order);
     }
 }
 private void Start()
 {
     foreach (Item item in StockDataManager.GetStock().items)
     {
         tree.Insert(item.id, item);
         uiStockManager.AddItemUI(item);
     }
 }
示例#3
0
        public void AddTest()
        {
            tree.AddRange(listStu.ToArray());
            Node <Student> node = null;

            tree.Insert(node);
            Assert.IsTrue(tree.ToList().Count <= listStu.Count);
            Assert.NotNull(tree.root);
        }