示例#1
0
        public void BitmapSuffix_Set_GetReturnsExpected(string bitmapSuffix)
        {
            var section = new SystemDrawingSection {
                BitmapSuffix = bitmapSuffix
            };

            Assert.Equal(bitmapSuffix, section.BitmapSuffix);

            PropertyInformation propertyInformation = section.ElementInformation.Properties["bitmapSuffix"];

            Assert.Equal(bitmapSuffix, propertyInformation.Value);
        }
示例#2
0
        public void Ctor_Default()
        {
            var section = new SystemDrawingSection();

            Assert.Null(section.BitmapSuffix);
        }