public void SetOption(string name, string value) { var str = "Setting option " + name + " - " + value; SendInfo(str); name = name.ToLower(); if (name == "hash") { var sizeMB = Convert.ToInt32(value); TTable.Delete(); TTable.Init(sizeMB); } }
public static void Cleanup() { TTable.Delete(); }
public void TestTable1() { TTable.Delete(); TTable.Init(256); Assert.AreEqual(15790320, TTable.GetTableSize()); }