Пример #1
0
        public void Test_Constructor()
        {
            DrawableDensity density = new DrawableDensity(new PointD(4, 2));

            Assert.AreEqual(4, density.Density.X);
            Assert.AreEqual(2, density.Density.Y);
        }
Пример #2
0
            public void ShouldSetTheProperties()
            {
                var density = new DrawableDensity(new PointD(4, 2));

                Assert.Equal(4, density.Density.X);
                Assert.Equal(2, density.Density.Y);
            }