public void TestPutGet() { string key = "k1"; string value = "v1"; string name = "test"; KVStore store = KVStore.Open(name); store.Put(key, value); Assert.AreEqual(name, store.Name); Assert.AreEqual(value, store.get(key)); }
public void TestPutGet() { string key = "k1"; string value = "v1"; string name = "test"; KVStore store = KVStore.Open(name); store.Put(key, value); Assert.AreEqual(name, store.Name); Assert.AreEqual(value, store.get(key)); }