/// <summary> /// constructor. almost all settings for this object is done here. /// </summary> public PDisplayedArea() { base.Brush = new SolidBrush(Color.FromArgb(64, Color.LightCoral)); base.Pen = new Pen(Color.FromArgb(64, Color.Gray)); RectangleFigure fig = new RectangleFigure(); base.AddPath(fig.GraphicsPath, false); }
public void TestConstructorRectangleFigureXYWidthHeight() { float x = 0; float y = 0; float width = 0; float height = 0; RectangleFigure testRectangleFigure = new RectangleFigure(x, y, width, height); Assert.IsNotNull(testRectangleFigure, "Constructor of type, RectangleFigure failed to create instance."); Assert.Fail("Create or modify test(s)."); }
public void TestConstructorRectangleFigure() { RectangleFigure testRectangleFigure = new RectangleFigure(); Assert.IsNotNull(testRectangleFigure, "Constructor of type, RectangleFigure failed to create instance."); Assert.Fail("Create or modify test(s)."); }
public void TearDown() { _unitUnderTest = null; }
public void SetUp() { _unitUnderTest = new RectangleFigure(); }