public void HashCode_ReturnsHashCodeFromKey() { string key = "key"; var metadata = new NodeMetatada(key); Assert.Equal(key.GetHashCode(), metadata.GetHashCode()); }
public void GetHashcode_ReturnsKeyHashcode() { string key = "key"; NodeMetatada metatada = new NodeMetatada(key); Assert.Equal(key.GetHashCode(), metatada.GetHashCode()); }