Пример #1
0
 /// <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);
 }
Пример #2
0
 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).");
 }
Пример #3
0
 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).");
 }
Пример #4
0
 public void TearDown()
 {
     _unitUnderTest = null;
 }
Пример #5
0
 public void SetUp()
 {
     _unitUnderTest = new RectangleFigure();
 }