예제 #1
0
        public virtual void ReadWriteBooleanTest()
        {
            var key = "booleanKey";

            Store.Write(key, true);
            Assert.IsTrue(Store.Exists(key));
            Assert.AreEqual(true, Store.Read(key, false));

            Store.Write(key, false);
            Assert.AreEqual(false, Store.Read(key, true));

            Store.Remove(key);
            Assert.IsFalse(Store.Exists(key));
            Assert.AreEqual(true, Store.Read(key, true));
        }