public void NonDefaultClone()
        {
            var expected = new TextOptions
            {
                ApplyKerning        = false,
                DpiX                = 46F,
                DpiY                = 52F,
                HorizontalAlignment = HorizontalAlignment.Center,
                TabWidth            = 3F,
                LineSpacing         = -1F,
                VerticalAlignment   = VerticalAlignment.Bottom,
                WrapTextWidth       = 42F
            };

            TextOptions actual = expected.DeepClone();

            Assert.Equal(expected.ApplyKerning, actual.ApplyKerning);
            Assert.Equal(expected.DpiX, actual.DpiX);
            Assert.Equal(expected.DpiY, actual.DpiY);
            Assert.Equal(expected.LineSpacing, actual.LineSpacing);
            Assert.Equal(expected.HorizontalAlignment, actual.HorizontalAlignment);
            Assert.Equal(expected.TabWidth, actual.TabWidth);
            Assert.Equal(expected.VerticalAlignment, actual.VerticalAlignment);
            Assert.Equal(expected.WrapTextWidth, actual.WrapTextWidth);
        }
        public void CloneIsDeep()
        {
            var         expected = new TextOptions();
            TextOptions actual   = expected.DeepClone();

            actual.ApplyKerning        = false;
            actual.DpiX                = 46F;
            actual.DpiY                = 52F;
            actual.HorizontalAlignment = HorizontalAlignment.Center;
            actual.TabWidth            = 3F;
            actual.VerticalAlignment   = VerticalAlignment.Bottom;
            actual.WrapTextWidth       = 42F;

            Assert.NotEqual(expected.ApplyKerning, actual.ApplyKerning);
            Assert.NotEqual(expected.DpiX, actual.DpiX);
            Assert.NotEqual(expected.DpiY, actual.DpiY);
            Assert.NotEqual(expected.HorizontalAlignment, actual.HorizontalAlignment);
            Assert.NotEqual(expected.TabWidth, actual.TabWidth);
            Assert.NotEqual(expected.VerticalAlignment, actual.VerticalAlignment);
            Assert.NotEqual(expected.WrapTextWidth, actual.WrapTextWidth);
        }