AK.F1.Timing.Serialization.ObjectTypeCodeTest.enum_defines_the_same_values_as_the_clr_type_code_enum C# (CSharp) Method

enum_defines_the_same_values_as_the_clr_type_code_enum() private method

        public void enum_defines_the_same_values_as_the_clr_type_code_enum()
        {
            var expected = (int[])Enum.GetValues(typeof(TypeCode));
            var actual = (int[])Enum.GetValues(typeof(ObjectTypeCode));

            Assert.True(actual.Length > expected.Length);

            for(int i = 0; i < expected.Length; ++i)
            {
                Assert.Equal(expected[i], actual[i]);
            }
        }