Esempio n. 1
0
        public void HashCode_ReturnsHashCodeFromKey()
        {
            string key      = "key";
            var    metadata = new NodeMetatada(key);

            Assert.Equal(key.GetHashCode(), metadata.GetHashCode());
        }
Esempio n. 2
0
        public void GetHashcode_ReturnsKeyHashcode()
        {
            string       key      = "key";
            NodeMetatada metatada = new NodeMetatada(key);

            Assert.Equal(key.GetHashCode(), metatada.GetHashCode());
        }