Beispiel #1
0
        public void BuildTest2()
        {
            var path = Path.Combine(Config.DataRootPath, _testFile2);

            if (File.Exists(path))
            {
                File.Delete(path);
            }

            var trie = new DoubleArrayTrieBuilder <string>(System.Threading.Thread.CurrentThread.ManagedThreadId);

            var res = trie.Build(_mockData);

            Assert.True(res);

            trie.Save(path);
        }