public void KeyShouldBeAvailableAfterIndexGrowAndRehashing() { const string KEY = "key"; using (var index = new IndexFile(INDEX_FILE, 0)) { index.Add(KEY); Assert.AreEqual(1, index.EntriesCount); Assert.IsTrue(index.Contains(KEY)); Assert.AreEqual(IndexData.Empty, index.Get(KEY)); } }