public void LineNDIFabricTest() { LineNDIFabric lineNDIFabric = new LineNDIFabric(); AFigure actual = lineNDIFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(LineNDIFigure), actual.GetType()); }
public void RectTriangleIFabricTest() { RectTriangleIFabric rectTriangleIFabric = new RectTriangleIFabric(); AFigure actual = rectTriangleIFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(RectTriangleIFigure), actual.GetType()); }
public void FigureNDCreateFigureTest() { FigureNDIFabric figureNDFabric = new FigureNDIFabric(); AFigure actual = figureNDFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(FigureNDIFigure), actual.GetType()); }
public void IsoscelesTriangleIFabricTest() { IsoscelesTriangleIFabric isoscelesTriangleIFabric = new IsoscelesTriangleIFabric(); AFigure actual = isoscelesTriangleIFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(IsoscelesTriangleIFigure), actual.GetType()); }
public void CircleCreateFigureTest() { CircleIFabric circleFabric = new CircleIFabric(); AFigure actual = circleFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(CircleFigure), actual.GetType()); }
public void BrushCreateFigureTest() { BrushFabric brushFabric = new BrushFabric(); AFigure actual = brushFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(BrushIFigure), actual.GetType()); }
public void EllipseFCreateFigureTest() { EllipseIFabric ellipseFabric = new EllipseIFabric(); AFigure actual = ellipseFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(EllipseFigure), actual.GetType()); }
public void SqareCreateFigureTest() { SquareIFabric squareFabric = new SquareIFabric(); AFigure actual = squareFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(SquareFigure), actual.GetType()); }
public void Triangle3DIFabricTest() { Triangle3DIFabric triangle3DIFabric = new Triangle3DIFabric(); AFigure actual = triangle3DIFabric.CreateFigure(new Pen(Color.Black, 5)); Assert.AreEqual(typeof(Triangle3DFigure), actual.GetType()); }