Exemple #1
0
        public async Task TestSubSubLevel()
        {
            var odin = new OdinMemoryStore();
            var fooLevel = new Partition(odin, "foo");

            await fooLevel.Put("x", "x");

            var barLevel = fooLevel.CreateSubPartition("bar");
            await OdinTests.BasicOperations(barLevel);

            await barLevel.Put("y", "y");

            Assert.IsNull(await barLevel.Get("x"));
            Assert.IsNull(await fooLevel.Get("y"));

            await barLevel.Delete("y");
            await fooLevel.Delete("x");
        }
Exemple #2
0
 public async Task TestSubLevel()
 {
     var odin = new OdinMemoryStore();
     var subLevel = new Partition(odin, "foo");
     await OdinTests.BasicOperations(subLevel);
 }