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); } }
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); }