1
using System;
2
using Libplanet.Store.Trie;
3

4
namespace Libplanet.Tests.Store.Trie
5
{
6
    public class CacheableKeyValueStoreTest : KeyValueStoreTest, IDisposable
7
    {
8
        private readonly CacheableKeyValueStore _cacheableKeyValueStore;
9

10 1
        public CacheableKeyValueStoreTest()
11 1
        {
12
            // Memory mode.
13 1
            KeyValueStore = _cacheableKeyValueStore =
14 1
                new CacheableKeyValueStore(new DefaultKeyValueStore(null));
15 1
            InitializePreStoredData();
16 1
        }
17

18
        public void Dispose()
19 1
        {
20 1
            _cacheableKeyValueStore.Dispose();
21 1
        }
22
    }
23
}

Read our documentation on viewing source code .

Loading