public void TestEmptyDB() { using (var tmpDir = new TempDirectory()) using (var db = new Database(tmpDir.Path, true)) Assert.IsNull(db.Get(0)); }
public void TestRetrieveNonExistingElement() { using (var tmpDir = new TempDirectory()) using (var db = new Database(tmpDir.Path, true)) Assert.IsNull(db.Get(-1)); }