AK.F1.Timing.Extensions.ReflectionExtensionsTest.get_attributes_returns_all_attributes C# (CSharp) Method

get_attributes_returns_all_attributes() private method

private get_attributes_returns_all_attributes ( ) : void
return void
        public void get_attributes_returns_all_attributes()
        {
            Assert.Equal(1, typeof(Parent).GetAttributes<InheritedAttribute>().Length);
            Assert.Equal(1, typeof(Parent).GetAttributes<MultipleAttribute>().Length);

            Assert.Equal(1, typeof(Child).GetAttributes<InheritedAttribute>().Length);
            Assert.Equal(2, typeof(Child).GetAttributes<MultipleAttribute>().Length);
        }