public void Test_Constructor() { DrawableDensity density = new DrawableDensity(new PointD(4, 2)); Assert.AreEqual(4, density.Density.X); Assert.AreEqual(2, density.Density.Y); }
public void ShouldSetTheProperties() { var density = new DrawableDensity(new PointD(4, 2)); Assert.Equal(4, density.Density.X); Assert.Equal(2, density.Density.Y); }