Example #1
0
        public void NullableEnumTest()
        {
            var expected = new NullableEnumClass {Field = BaseTypeEnumValues.B};
            var actual = Roundtrip(expected);

            Assert.AreEqual(expected.Field, actual.Field);
        }
Example #2
0
        public void NullableEnumTest()
        {
            var expected = new NullableEnumClass {
                Field = BaseTypeEnumValues.B
            };
            var actual = Roundtrip(expected);

            Assert.Equal(expected.Field, actual.Field);
        }