Exemplo n.º 1
0
        public void TypeTest3()
        {
            var m1 = new TypeTestClass2()
            {
                Type1 = DefineTypes.String, Type2 = DefineTypes.Int32
            };
            var m2 = ObjectComparer(m1);

            Assert.Equal(m1.Type1, m2.Type1);
        }
Exemplo n.º 2
0
        public void TypeTest2()
        {
            var m1 = new TypeTestClass2()
            {
                Type1 = Types.String, Type2 = Types.String
            };
            var m2 = ObjectComparer(m1);

            Assert.Equal(m1.Type1, m2.Type1);
            Assert.Equal(m1.Type2, m2.Type2);
        }