예제 #1
0
        public void NodeStore_ContainsKey_False()
        {
            // Arrange
            var store = new NodeStore();
            var key   = "key";

            // Act
            var containsKey = store.ContainsKey(key);

            // Assert
            Assert.IsFalse(containsKey);
        }
예제 #2
0
        public void NodeStore_ContainsKey_True()
        {
            // Arrange
            var store = new NodeStore();
            var key   = "key";
            var value = "value";

            store.AddValue(key, value);

            // Act
            var containsKey = store.ContainsKey(key);

            // Assert
            Assert.IsTrue(containsKey);
        }