示例#1
0
        public void Return_False_On_IsIdentical_When_Identity_Is_Different()
        {
            var x = new Name
            {
                NmNr = 1
            };
            var y = new Name
            {
                NmNr = 2
            };

            Assert.IsFalse(x.IsIdentical(y));
        }
示例#2
0
        public void Return_True_On_IsIdentical_When_Identity_Is_Equal()
        {
            var x = new Name
            {
                NmNr = 1
            };
            var y = new Name
            {
                NmNr = 1
            };

            Assert.IsTrue(x.IsIdentical(y));
        }