コード例 #1
0
        public void GetHashCodeTest()
        {
            DefaultBindingPropertyAttribute a;

            a = new DefaultBindingPropertyAttribute("test");
            Assert.IsFalse(0 == a.GetHashCode(), "1");
        }
コード例 #2
0
        public void GetHashCode_InvokeMultipleTimes_ReturnsEqual()
        {
            var attribute = new DefaultBindingPropertyAttribute("name");

            Assert.Equal(attribute.GetHashCode(), attribute.GetHashCode());
        }