AK.F1.Timing.Extensions.ReflectionExtensionsTest.get_attributes_returns_all_attributes C# (CSharp) 메소드

get_attributes_returns_all_attributes() 개인적인 메소드

private get_attributes_returns_all_attributes ( ) : void
리턴 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);
        }