Beispiel #1
0
        public void GetByOperationCanMixTypesWithGenerics()
        {
            var key   = "key";
            var value = 25;

            _txn.Put(_db, key, value);

            var persistedValue = _txn.GetBy(_db, key).Value <int>();

            Assert.AreEqual(value, persistedValue);
        }