コード例 #1
0
        public void CBTree_GetFromDeepTree()
        {
            var btree = new BTreeDictionary <string, int>();

            foreach (var i in Enumerable.Range(0, 1000))
            {
                btree.Add(i.ToString(), i);
            }
            btree.Dump();
            Assert.AreEqual(0, btree["0"]);
            Assert.AreEqual(500, btree["500"]);
        }