Exemplo n.º 1
0
        public void ValueToStyleStringTest()
        {
            // Arrange
            Margins margins = new Margins();

            margins.Properties["Left"]   = "1";
            margins.Properties["Right"]  = "2";
            margins.Properties["Top"]    = "3";
            margins.Properties["Bottom"] = "4";
            string expectedResult = "1,2,3,4";
            // Act
            string actualResult = margins.ValueToStyleString();

            // Assert
            Assert.AreEqual(expectedResult, actualResult);
        }